From 189e6c201a3e2b2b90ecbc60419589cb0d3d26b4 Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Wed, 15 Apr 2020 18:35:38 +0200 Subject: [PATCH] move sec audit into seperate step to speed up CI --- .github/workflows/ci.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 711d2275..3c0399ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \ No newline at end of file + - 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 }}