Skip to content

Commit 6072f4b

Browse files
authored
ci: remove osv GH action job and bump requests depenency (#450)
ci: remove osv action job and bump requests depenency
1 parent 6ae6d70 commit 6072f4b

File tree

6 files changed

+16
-20
lines changed

6 files changed

+16
-20
lines changed

.github/actions/python-package-build/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ runs:
4242
- name: Build the package
4343
id: build
4444
shell: bash
45+
env:
46+
PYTHON_VERSION: ${{ inputs.python-version }}
4547
run: |
46-
uv build --python ${{ inputs.python-version }}
48+
uv build --python "$PYTHON_VERSION"
4749
4850
# Set outputs
4951
WHEEL_FILE=$(ls dist/*.whl | head -1)

.github/workflows/build-test-docker.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ jobs:
4848
image-name: ${{ matrix.image-name }}
4949
setup-qemu: ${{ matrix.needs-qemu }}
5050

51-
- name: Test
51+
- name: Test Docker image
52+
shell: bash
53+
env:
54+
PLATFORM: ${{ matrix.platform }}
55+
IMAGE_NAME: ${{ matrix.image-name }}
56+
IMAGE_TAG: ${{ inputs.image-tag }}
5257
run: |
53-
docker run --platform ${{ matrix.platform }} --rm ${{ matrix.image-name }}:${{ inputs.image-tag }} --version
58+
docker run --platform "$PLATFORM" --rm "$IMAGE_NAME":"$IMAGE_TAG" --version

.github/workflows/build-test-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
id: build
2424
with:
2525
uv-version: "0.8.22"
26-
python-version: "$PYTHON_VERSION"
26+
python-version: "${{ env.PYTHON_VERSION }}"
2727

2828
- name: Upload package artifact
2929
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0

.github/workflows/security.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,6 @@ on:
99
- cron: "0 0 * * 1" # every Monday at 00:00 UTC
1010

1111
jobs:
12-
osv-scanner:
13-
if: "!startsWith(github.event.head_commit.message, 'bump:')"
14-
runs-on: ubuntu-latest
15-
container:
16-
image: ghcr.io/google/osv-scanner:v2.1.0@sha256:9a1ba57d2a1506c9e9d0dfbeaf46346507e829745b70d47d77e12c38e66de8d7
17-
steps:
18-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19-
- name: Run OSV Scanner
20-
run: |
21-
/osv-scanner --format table -r .
22-
2312
semgrep:
2413
if: github.event_name != 'schedule' && !startsWith(github.event.head_commit.message, 'bump:')
2514
runs-on: ubuntu-latest
@@ -29,7 +18,7 @@ jobs:
2918
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3019
- name: Run Semgrep
3120
run: |
32-
semgrep scan --config auto
21+
semgrep scan --config auto --error
3322
3423
twyn:
3524
if: github.event_name != 'schedule' && !startsWith(github.event.head_commit.message, 'bump:')

.osv-scanner.toml

Whitespace-only changes.

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)