Skip to content

Commit b705691

Browse files
committed
streamline the CI workflows
1 parent cf6701a commit b705691

3 files changed

Lines changed: 3 additions & 74 deletions

File tree

.github/workflows/audit.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v6
14-
- name: Install Rust
15-
uses: actions-rust-lang/setup-rust-toolchain@v1
16-
- name: Cache cargo
17-
uses: Swatinem/rust-cache@v2
18-
- name: Install cargo-audit
19-
run: cargo install cargo-audit
20-
- name: Run audit
21-
run: cargo audit
14+
- uses: rustsec/audit-check@v2
15+
with:
16+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
branches: [master]
55
pull_request:
66
branches: [master]
7-
workflow_call:
87
env:
98
CARGO_TERM_COLOR: always
109
jobs:
@@ -24,7 +23,5 @@ jobs:
2423
run: cargo fmt -- --check
2524
- name: Clippy
2625
run: cargo clippy --all-targets -- -D warnings -W clippy::pedantic
27-
- name: Build
28-
run: cargo build --locked
2926
- name: Run tests
3027
run: cargo test --all-targets --locked

.github/workflows/publish.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)