File tree Expand file tree Collapse file tree 18 files changed +63
-41
lines changed
Expand file tree Collapse file tree 18 files changed +63
-41
lines changed Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v6
15+ - name : Install uv
16+ uses : astral-sh/setup-uv@v7
17+ with :
18+ activate-environment : " true"
19+ github-token : ${{ github.token }}
1520 - name : Run bandit
1621 run : |
17- python --version
18- python -m pip install --quiet --no-cache-dir --upgrade uv
1922 uv run bandit -r $(basename $(pwd) | sed -E 's/-/_/')
Original file line number Diff line number Diff line change 11---
2- name : ' Build container'
2+ name : " Build container"
33" on " :
44 pull_request :
55 push :
@@ -14,16 +14,11 @@ jobs:
1414 steps :
1515 - name : Checkout
1616 uses : actions/checkout@v6
17-
18- - name : Set up Python
19- uses : actions/setup-python@v6
20- with :
21- python-version : ' 3.12'
2217 - name : Set up QEMU
2318 uses : docker/setup-qemu-action@v3
2419 - name : Set up Docker Buildx
2520 uses : docker/setup-buildx-action@v3
26- - # https://github.com/docker/login-action/#github-container-registry
21+ - # https://github.com/docker/login-action/#github-container-registry
2722 name : Login to GitHub Container Registry
2823 uses : docker/login-action@v3
2924 with :
Original file line number Diff line number Diff line change 3838
3939 steps:
4040 - name: Checkout repository
41- uses: actions/checkout@v5
41+ uses: actions/checkout@v6
4242
4343 # Initializes the CodeQL tools for scanning.
4444 - name: Initialize CodeQL
Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v6
15+ - name : Install uv
16+ uses : astral-sh/setup-uv@v7
17+ with :
18+ activate-environment : " true"
19+ github-token : ${{ github.token }}
1520 - name : Running mypy
1621 run : |
17- python -m pip install --quiet --no-cache-dir --upgrade uv
1822 uv run mypy --strict $(basename $(pwd)) tests
Original file line number Diff line number Diff line change 11---
2- name : pylint
2+ name : Python Linting
33
44" on " :
55 push :
1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v6
15- - name : Running pylint
15+ - name : Install uv
16+ uses : astral-sh/setup-uv@v7
17+ with :
18+ activate-environment : " true"
19+ github-token : ${{ github.token }}
20+ - name : Running ruff
1621 run : |
17- python --version
18- python -m pip install --quiet --no-cache-dir --upgrade uv
1922 uv run ruff check $(basename $(pwd)) tests
Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313 steps :
1414 - uses : actions/checkout@v6
15+ - name : Install uv
16+ uses : astral-sh/setup-uv@v7
17+ with :
18+ activate-environment : " true"
19+ github-token : ${{ github.token }}
1520 - name : Running pytest
1621 run : |
17- python --version
18- python -m pip install --quiet --no-cache-dir --upgrade uv
1922 uv run python -m pytest -m 'not network'
Original file line number Diff line number Diff line change 1919 github-token : " ${{ secrets.GITHUB_TOKEN }}"
2020 alert-lookup : true
2121 compat-lookup : true
22- - uses : actions/checkout@v5
22+ - uses : actions/checkout@v6
2323 - name : Approve a PR if not already approved
24-
2524 run : |
2625 # sets the upstream metadata for `gh pr status`
2726 gh pr checkout "$PR_URL"
Original file line number Diff line number Diff line change 1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : " Checkout Repository"
16- uses : actions/checkout@v5
16+ uses : actions/checkout@v6
1717 - name : " Dependency Review"
1818 uses : actions/dependency-review-action@v3
Original file line number Diff line number Diff line change 2323 runs-on : ubuntu-latest
2424 steps :
2525 - name : Checkout
26- uses : actions/checkout@v5
26+ uses : actions/checkout@v6
2727 - name : Setup sccache
2828 uses :
mozilla-actions/[email protected] 2929 - name : Set up QEMU
Original file line number Diff line number Diff line change 1111 bandit :
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v5
14+ - uses : actions/checkout@v6
15+ - name : Install uv
16+ uses : astral-sh/setup-uv@v7
17+ with :
18+ activate-environment : " true"
19+ github-token : ${{ github.token }}
1520 - name : Run bandit
1621 run : |
17- python --version
18- python -m pip install --quiet --no-cache-dir --upgrade uv
1922 uv run bandit -r $(basename $(pwd) | sed -E 's/-/_/g'))
You can’t perform that action at this time.
0 commit comments