Skip to content

Commit e14ac9d

Browse files
jdidionclaude
andcommitted
Fix CI: replace deprecated actions-rs/cargo with direct run commands
- Replace archived actions-rs/cargo@v1 with direct cargo commands - Add -- separator before -F flag for cargo-all-features compatibility - Pass toolchain matrix value to setup-rust-toolchain action Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5f3ddbe commit e14ac9d

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,11 @@ jobs:
6060
steps:
6161
- uses: actions/checkout@v4
6262
- uses: actions-rust-lang/setup-rust-toolchain@v1
63-
- uses: actions-rs/cargo@v1
6463
with:
65-
command: install
66-
args: cargo-all-features
67-
- uses: actions-rs/cargo@v1
68-
with:
69-
command: build-all-features
70-
args: -F ${{ matrix.channel }} --all-targets
71-
- uses: actions-rs/cargo@v1
72-
with:
73-
command: test-all-features
74-
args: -F ${{ matrix.channel }} --lib
64+
toolchain: ${{ matrix.toolchain }}
65+
- name: Install cargo-all-features
66+
run: cargo install cargo-all-features
67+
- name: Build all feature combinations
68+
run: cargo build-all-features -- -F ${{ matrix.channel }} --all-targets
69+
- name: Test all feature combinations
70+
run: cargo test-all-features -- -F ${{ matrix.channel }} --lib

0 commit comments

Comments
 (0)