Skip to content

Commit 4d52d16

Browse files
committed
cargo audit fix
1 parent ab82c09 commit 4d52d16

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/checks.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
with:
3131
persist-credentials: false
3232

33+
- name: Set up Python
34+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
35+
with:
36+
python-version: ${{ inputs.python-version }}
37+
3338
- name: Cache pip and Poetry virtualenv
3439
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5
3540
with:
@@ -71,9 +76,6 @@ jobs:
7176
- name: Install Rust toolchain
7277
run: rustup toolchain install 1.91 --component rustfmt --component clippy --no-self-update && rustup default 1.91
7378

74-
- name: Install cargo-audit
75-
run: cargo install --locked cargo-audit
76-
7779
- name: Display Rust Version Info
7880
shell: bash
7981
run: |
@@ -132,6 +134,9 @@ jobs:
132134
- name: Rust Format Check
133135
run: cargo fmt -- --check
134136

137+
- name: Install cargo-audit
138+
run: cargo install --locked cargo-audit
139+
135140
- name: Cargo Audit
136141
run: cargo audit
137142

0 commit comments

Comments
 (0)