Skip to content

Commit f7bc520

Browse files
authored
ci: bump osv-scanner version (#38)
1 parent 00d106b commit f7bc520

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/security.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
runs-on: ubuntu-latest
1414
if: "!startsWith(github.event.head_commit.message, 'bump:')"
1515
container:
16-
image: ghcr.io/google/osv-scanner:v1.9.2
16+
image: ghcr.io/google/osv-scanner:v2.1.0@sha256:9a1ba57d2a1506c9e9d0dfbeaf46346507e829745b70d47d77e12c38e66de8d7
1717
steps:
1818
- uses: actions/checkout@v4
1919
- name: Run OSV Scanner
2020
run: |
21-
/osv-scanner --skip-git --format table -r .
21+
/osv-scanner --format table -r .
2222
semgrep:
2323
runs-on: ubuntu-latest
2424
if: "!startsWith(github.event.head_commit.message, 'bump:')"

tests/test_cli.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from unittest.mock import Mock, call, patch
1+
from unittest.mock import ANY, Mock, call, patch
22

33
from click.testing import CliRunner
44
from lightman_ai import cli
@@ -35,7 +35,6 @@ def test_arguments(self, m_prompt: Mock, m_config: Mock, m_lightman: Mock, m_loa
3535

3636
assert result.exit_code == 0
3737
assert m_lightman.call_count == 1
38-
from unittest.mock import ANY
3938

4039
assert m_lightman.call_args == call(
4140
agent="gemini",

0 commit comments

Comments
 (0)