Skip to content

Commit 189e6c2

Browse files
author
Stephan Dilly
committed
move sec audit into seperate step to speed up CI
1 parent 2b4f80b commit 189e6c2

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ jobs:
2727
run: make clippy
2828
- name: Build Release
2929
run: make build-release
30-
- name: Security audit
31-
uses: actions-rs/audit-check@v1
32-
with:
33-
token: ${{ secrets.GITHUB_TOKEN }}
3430

3531
rustfmt:
3632
name: Rustfmt
@@ -39,4 +35,13 @@ jobs:
3935
- uses: actions/checkout@master
4036
- name: Install Rust
4137
run: rustup update stable && rustup default stable && rustup component add rustfmt
42-
- run: cargo fmt -- --check
38+
- run: cargo fmt -- --check
39+
40+
sec:
41+
name: Security audit
42+
runs-on: ubuntu-latest
43+
steps:
44+
- uses: actions/checkout@v2
45+
- uses: actions-rs/audit-check@v1
46+
with:
47+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)