Skip to content

Commit a88f9b5

Browse files
authored
ci: add +nightly to commands (#149)
1 parent d12d30a commit a88f9b5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222
- run: sudo apt-get update && sudo apt-get install -y -qq build-essential pkg-config jq dpkg curl wget zstd cmake clang libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libdbus-1-dev libwebkit2gtk-4.1-dev libjavascriptcoregtk-4.1-dev valac libibus-1.0-dev libglib2.0-dev sqlite3 libxdo-dev protobuf-compiler libfuse2 bash fish zsh shellcheck
23-
- uses: dtolnay/[email protected]
23+
- uses: dtolnay/[email protected].0
2424
id: toolchain
2525
with:
2626
components: clippy
@@ -57,7 +57,7 @@ jobs:
5757
target/
5858
key: cargo-test-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-${{ steps.toolchain.outputs.cachekey }}
5959
- name: Generate code coverage
60-
run: cargo llvm-cov --locked --workspace --lcov --output-path lcov.info
60+
run: cargo +nightly llvm-cov --locked --workspace --lcov --output-path lcov.info
6161
- name: Upload coverage to Codecov
6262
uses: codecov/codecov-action@v5
6363
with:
@@ -74,4 +74,4 @@ jobs:
7474
- uses: dtolnay/rust-toolchain@nightly
7575
with:
7676
components: rustfmt
77-
- run: cargo fmt --check -- --color always
77+
- run: cargo +nightly fmt --check -- --color always

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[toolchain]
2-
channel = "1.83"
2+
channel = "1.83.0"
33
profile = "minimal"
44
components = ["rustfmt", "clippy"]
55
targets = [

0 commit comments

Comments
 (0)