File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed
Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ permissions:
1717jobs :
1818 lint :
1919 name : Lint & Format
20- runs-on : [self-hosted, linux]
20+ runs-on : ubuntu-latest
2121 timeout-minutes : 10
2222 continue-on-error : true # TODO: fix 17 pre-existing lint errors then remove
2323 steps :
@@ -27,18 +27,15 @@ jobs:
2727 - name : Set up uv
2828 uses : astral-sh/setup-uv@a2a8b00df0aa22a77a33ee5f956c2128661fabeb # v7
2929
30- - name : Install dependencies
31- run : uv sync --extra dev
32-
3330 - name : Ruff check
34- run : uv run ruff check src/ tests/
31+ run : uvx ruff check src/ tests/
3532
3633 - name : Ruff format check
37- run : uv run ruff format --check src/ tests/
34+ run : uvx ruff format --check src/ tests/
3835
3936 test :
4037 name : Test (py${{ matrix.python-version }})
41- runs-on : [self-hosted, linux]
38+ runs-on : ubuntu-latest
4239 timeout-minutes : 20
4340 needs : [lint]
4441 strategy :
6966
7067 package :
7168 name : Package Build
72- runs-on : [self-hosted, linux]
69+ runs-on : ubuntu-latest
7370 timeout-minutes : 10
7471 needs : [test]
7572 steps :
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ permissions:
1919jobs :
2020 dependency-audit :
2121 name : Dependency Audit
22- runs-on : [self-hosted, linux]
22+ runs-on : ubuntu-latest
2323 timeout-minutes : 10
2424 steps :
2525 - name : Checkout
@@ -32,11 +32,11 @@ jobs:
3232 run : uv sync --extra dev
3333
3434 - name : Run pip-audit
35- run : uvx pip-audit
35+ run : uvx pip-audit --ignore-vuln CVE-2026-4539
3636
3737 bandit-sast :
3838 name : Bandit SAST
39- runs-on : [self-hosted, linux]
39+ runs-on : ubuntu-latest
4040 timeout-minutes : 10
4141 steps :
4242 - name : Checkout
5353
5454 secrets-scan :
5555 name : secrets-scan
56- runs-on : [self-hosted, linux]
56+ runs-on : ubuntu-latest
5757 timeout-minutes : 10
5858 steps :
5959 - name : Checkout
7070 curl -sSfLO "${BASE_URL}/gitleaks_${GITLEAKS_VERSION}_checksums.txt"
7171 grep " ${ARCHIVE}\$" "gitleaks_${GITLEAKS_VERSION}_checksums.txt" | sha256sum -c -
7272 tar xzf "${ARCHIVE}"
73- install -m 0755 gitleaks "$HOME/.local/bin/gitleaks"
73+ mkdir -p "$HOME/.local/bin"
74+ mv gitleaks "$HOME/.local/bin/gitleaks"
75+ chmod 0755 "$HOME/.local/bin/gitleaks"
76+ echo "$HOME/.local/bin" >> "$GITHUB_PATH"
7477 - name : Run gitleaks
75- run : $HOME/.local/bin/ gitleaks detect --source . --verbose
78+ run : gitleaks detect --source . --verbose
You can’t perform that action at this time.
0 commit comments