-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from will-lynas/formatting
Factor out CI
- Loading branch information
Showing
1 changed file
with
2 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] |