-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump MSRV and use stable in actions
Signed-off-by: Lachezar Lechev <[email protected]>
- Loading branch information
Showing
4 changed files
with
21 additions
and
23 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 |
---|---|---|
|
@@ -10,13 +10,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set default rust toolchain | ||
run: rustup default 1.61.0 | ||
- name: Install rustfmt | ||
run: rustup component add rustfmt | ||
- name: Install clippy | ||
run: rustup component add clippy | ||
uses: actions/checkout@v3 | ||
- uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: clippy, rustfmt | ||
- name: Rust cache | ||
uses: Swatinem/rust-cache@v2 | ||
- name: Build code | ||
|
@@ -25,3 +22,9 @@ jobs: | |
run: cargo fmt --all -- --check | ||
- name: Lint code | ||
run: cargo clippy --all -- -D warnings | ||
|
||
# MSRV | ||
- name: Check MSRV | ||
uses: dtolnay/[email protected] | ||
- name: Cargo check | ||
run: cargo check |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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