Skip to content

Commit

Permalink
refactor: Mark crate available in stable toolchain (#87)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo authored Jan 8, 2024
1 parent 0bb657b commit edc193e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: "1"
LOCK_FILE: Cargo.lock
RUST_VERSION: nightly-2023-08-28
RUST_VERSION: stable

jobs:
style-check:
Expand All @@ -50,9 +50,6 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- run: |
rustup set auto-self-update disable
rustup toolchain install ${RUST_VERSION} --profile minimal
- name: Cache Rust Dependencies
uses: actions/cache@v3
with:
Expand All @@ -64,10 +61,8 @@ jobs:
debug-${{ runner.os }}-${{ hashFiles('rust-toolchain') }}-
debug-${{ runner.os }}-
debug-
- name: Install clippy rustfmt
- name: Install cargo-sort
run: |
rustup component add clippy
rustup component add rustfmt
cargo install cargo-sort
- name: Run Style Check
run: |
Expand All @@ -81,14 +76,11 @@ jobs:
timeout-minutes: 60
strategy:
matrix:
rust: [ nightly-2023-08-28 ]
rust: [ stable ]
steps:
- uses: actions/checkout@v3
with:
submodules: true
- run: |
rustup set auto-self-update disable
rustup toolchain install ${RUST_VERSION} --profile minimal
- name: Cache Rust Dependencies
uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-08-28"
channel = "stable"
components = [ "rustfmt", "clippy" ]

0 comments on commit edc193e

Please sign in to comment.