Skip to content

Commit f55db93

Browse files
committed
fix: remove dependency-review job and fix cargo-deny for edition 2024
- Removed dependency-review job as it requires GitHub Advanced Security - Added Rust 1.89 toolchain installation for cargo-deny to support edition 2024
1 parent 0d01e13 commit f55db93

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

.github/workflows/security.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,14 @@ jobs:
5656
- name: Checkout code
5757
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5858

59+
- name: Install Rust
60+
uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a # stable
61+
with:
62+
toolchain: 1.89
63+
5964
- name: Run cargo-deny
6065
uses: EmbarkStudios/cargo-deny-action@8371184bd11e21dcf8ac82ebf8c9c9f74ebf7268 # v2.0.3
6166
with:
6267
command: check
6368
arguments: --all-features
64-
65-
dependency-review:
66-
name: Dependency Review
67-
runs-on: ubuntu-latest
68-
if: github.event_name == 'pull_request'
69-
steps:
70-
- name: Checkout code
71-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
72-
73-
- name: Dependency Review
74-
uses: actions/dependency-review-action@a6993e2c61fd5dc440b409aa1d6904921c5e1894 # v5.0.0
75-
with:
76-
fail-on-severity: high
77-
deny-licenses: GPL-3.0, AGPL-3.0
69+
rust-version: "1.89"

0 commit comments

Comments
 (0)