File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3838 - name : Install Rust Nightly
3939 uses : actions-rs/toolchain@v1
4040 with :
41- toolchain : nightly
41+ toolchain : stable
4242 components : rustfmt
4343
4444 - name : Utilize Shared Rust Cache
5151 run : |
5252 set -euo pipefail
5353 # Run cargo fmt and capture both stdout and stderr
54- output=$(cargo +nightly fmt --check --all 2>&1) || {
54+ output=$(cargo fmt --check --all 2>&1) || {
5555 echo "❌ cargo fmt failed with non-zero exit code"
5656 echo "$output"
5757 exit 1
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ cargo fix --workspace --all-features --all-targets
2424commit_if_changes " cargo fix"
2525
2626# Step 4: Run cargo fmt and commit changes if any.
27- cargo +nightly fmt --all
27+ cargo fmt --all
2828commit_if_changes " cargo fmt"
2929
3030if command -v zepter > /dev/null 2>&1 ; then
You can’t perform that action at this time.
0 commit comments