mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Add zizmor CI (#7463)
This commit is contained in:
1 parent
0a19d7203f
commit
5bb6a3a607
1 file changed
+18
-1
@@ -141,7 +141,12 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
uses: ./.github/actions/install-linux-deps
|
||||
with: ${{ matrix.dependencies || fromJSON('{}') }}
|
||||
# zizmor has an issue with dynamic `with`
|
||||
# with: ${{ matrix.dependencies || fromJSON('{}') }}
|
||||
with:
|
||||
gcc-multilib: ${{ matrix.dependencies.gcc-multilib || false }}
|
||||
musl-tools: ${{ matrix.dependencies.musl-tools || false }}
|
||||
gcc-aarch64-linux-gnu: ${{ matrix.dependencies.gcc-aarch64-linux-gnu || false }}
|
||||
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
@@ -514,3 +519,15 @@ jobs:
|
||||
- run: cargo binstall --no-confirm cargo-shear
|
||||
|
||||
- run: cargo shear
|
||||
|
||||
security-lint:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
security-events: write
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Run zizmor
|
||||
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
|
||||
Reference in new issue
Block a user