-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We do not need check the code against nightly and beta version. Also, delete the matrix and replace with env Signed-off-by: Xynnn007 <[email protected]>
- Loading branch information
Showing
3 changed files
with
11 additions
and
18 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
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
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 |
---|---|---|
|
@@ -21,15 +21,10 @@ jobs: | |
ci: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
rust: | ||
- stable | ||
- beta | ||
- nightly | ||
os: | ||
- ubuntu-latest | ||
|
||
runs-on: ${{ matrix.os }} | ||
env: | ||
RUSTC_VERSION: 1.76.0 | ||
OS: ubuntu-latest | ||
runs-on: ${{ env.OS }} | ||
Check failure on line 27 in .github/workflows/kbs-rust.yml GitHub Actions / lint workflow files
|
||
|
||
steps: | ||
- name: Code checkout | ||
|
@@ -39,7 +34,7 @@ jobs: | |
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: ${{ matrix.rust }} | ||
toolchain: ${{ env.RUSTC_VERSION }} | ||
override: true | ||
components: rustfmt, clippy | ||
target: x86_64-unknown-linux-gnu | ||
|