Skip to content

Commit

Permalink
Merge pull request #8 from will-lynas/formatting
Browse files Browse the repository at this point in the history
Factor out CI
  • Loading branch information
will-lynas authored Sep 17, 2024
2 parents 6f608a7 + bd821e8 commit 3070a82
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,5 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
components: rustfmt, clippy

- name: Run cargo fmt --check
run: cargo fmt --check

- name: Run cargo check
run: cargo check

- name: Run cargo check --tests
run: cargo check --tests

- name: Run cargo clippy
run: cargo clippy -- -D warnings

- name: Run cargo test
run: cargo test --all
- name: Run Checks
uses: will-lynas/[email protected]

0 comments on commit 3070a82

Please sign in to comment.