Skip to content

Commit a4f32c4

Browse files
committed
CI: Added cargo-deny-action to the test
1 parent 23f418f commit a4f32c4

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,15 @@ jobs:
6767
path: target
6868
key: cargo-${{ matrix.image }}-${{ hashFiles('**/Cargo.lock') }}
6969

70+
- name: Deny check
71+
uses: EmbarkStudios/cargo-deny-action@v2
72+
7073
- name: Build
71-
run: cargo build
74+
run: cargo build --locked
7275

7376
- name: Test
7477
if: ${{ !inputs.include-ignored }}
75-
run: cargo test
78+
run: cargo test --locked
7679

7780
- name: Test (include ignored)
7881
if: ${{ inputs.include-ignored }}

0 commit comments

Comments
 (0)