Skip to content

Commit

Permalink
fix: adjust workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Rolv-Apneseth committed Feb 8, 2024
1 parent c8a4a8d commit 521777a
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,19 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Bootstrap
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy

- name: Formatting
uses: actions-rs/cargo@v1
with:
command: fmt
continue-on-error: false
- name: Install stable toolchain
run: rustup toolchain install stable

- name: Linting
uses: actions-rs/cargo@v1
with:
command: clippy
continue-on-error: false
- name: Cache dependencies
uses: Swatinem/rust-cache@v2

- name: Build
run: cargo build --library --verbose

- name: Format
run: cargo fmt
continue-on-error: false

- name: Lint
run: cargo clippy
continue-on-error: false

0 comments on commit 521777a

Please sign in to comment.