mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
move sec audit into seperate step to speed up CI
This commit is contained in:
parent
2b4f80b141
commit
189e6c201a
1 changed files with 10 additions and 5 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
|
@ -27,10 +27,6 @@ jobs:
|
||||||
run: make clippy
|
run: make clippy
|
||||||
- name: Build Release
|
- name: Build Release
|
||||||
run: make build-release
|
run: make build-release
|
||||||
- name: Security audit
|
|
||||||
uses: actions-rs/audit-check@v1
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
rustfmt:
|
rustfmt:
|
||||||
name: Rustfmt
|
name: Rustfmt
|
||||||
|
|
@ -39,4 +35,13 @@ jobs:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
run: rustup update stable && rustup default stable && rustup component add rustfmt
|
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 a new issue