mirror of
https://github.com/extrawurst/gitui.git
synced 2024-12-28 03:22:51 +03:00
move sec audit into seperate step to speed up CI
This commit is contained in:
parent
2b4f80b141
commit
189e6c201a
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user