Skip to content

Commit

Permalink
ci: Drop actions-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasbishop committed Feb 15, 2024
1 parent aeaaed3 commit a944e4a
Showing 1 changed file with 5 additions and 22 deletions.
27 changes: 5 additions & 22 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,51 +12,34 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/cargo@v1
with:
command: check
- run: cargo check

test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/cargo@v1
with:
command: test
- run: cargo test

fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- run: cargo fmt --all -- --check

clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- run: cargo clippy -- -D warnings

render:
name: Verify rendered output is up to date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/cargo@v1
with:
command: build
- uses: actions-rs/cargo@v1
with:
command: run
- run: |
cargo run
git diff --exit-code docs/

0 comments on commit a944e4a

Please sign in to comment.