summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorStephan Dilly <dilly.stephan@gmail.com>2020-04-15 18:35:38 +0200
committerStephan Dilly <dilly.stephan@gmail.com>2020-04-15 19:01:44 +0200
commit189e6c201a3e2b2b90ecbc60419589cb0d3d26b4 (patch)
treed8767fde15f2c258b433308f5daab036eb422999 /.github
parent2b4f80b14190b5550d11ce7a54aca812bc794821 (diff)
move sec audit into seperate step to speed up CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml15
1 files 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 }}