Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update actions #51

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 11 additions & 15 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,29 +22,25 @@ jobs:
- nightly

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt

- uses: actions-rs/cargo@v1
- uses: Swatinem/rust-cache@v2
with:
command: build
args: --release --all-features -v
cache-on-failure: true

- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features -v
- name: build
run: cargo build --release --all-features -v

- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: test
run: cargo test --all-features -v

- name: fmt
run: cargo fmt --all -- --check

- name: Security audit
uses: actions-rs/audit-check@v1
Expand Down
Loading