Skip to content

Commit 25c06f1

Browse files
authored
Switch to native GitHub Actions Rust toolchain.
1 parent 4c69c4f commit 25c06f1

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,14 @@ jobs:
2525
uses: actions/checkout@v2
2626
with:
2727
submodules: true
28-
- name: 'Install the Rust toolchain'
29-
uses: actions-rs/toolchain@v1
30-
with:
31-
toolchain: ${{ matrix.toolchain }}
28+
- name: 'Setup the Rust toolchain'
29+
run: |
30+
rustup override set ${{ matrix.toolchain }}
31+
rustup --version
32+
rustc --version
33+
cargo --version
3234
- name: 'Build RRG executable'
33-
uses: actions-rs/cargo@v1
34-
with:
35-
command: build
35+
run: cargo build
3636
# TODO: Add a step that runs tests with all action features disabled.
3737
- name: 'Run RRG tests'
38-
uses: actions-rs/cargo@v1
39-
with:
40-
command: test
41-
args: >
42-
--features 'test-chattr test-setfattr test-fuse test-wtmp'
38+
run: cargo test --features 'test-chattr test-setfattr test-fuse test-wtmp'

0 commit comments

Comments
 (0)