move sec audit into seperate step to speed up CI

This commit is contained in:
Stephan Dilly 2020-04-15 18:35:38 +02:00
parent 2b4f80b141
commit 189e6c201a

View File

@ -27,10 +27,6 @@ jobs:
run: make clippy
- name: Build Release
run: make build-release
- name: Security audit
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
rustfmt:
name: Rustfmt
@ -39,4 +35,13 @@ jobs:
- uses: actions/checkout@master
- name: Install Rust
run: rustup update stable && rustup default stable && rustup component add rustfmt
- run: cargo fmt -- --check
- run: cargo fmt -- --check
sec:
name: Security audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}