Skip to content

Commit 35b355e

Browse files
authored
upgrade action versions to silent nodejs 12 deprecated warning (#50)
* upgrade action versions to silient nodejs 12 deprecated warning * replace `actions-rs/toolchain` with `dtolnay/rust-toolchain`
1 parent 787b73a commit 35b355e

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
rust: ["1.40.0"]
2020
steps:
2121
- name: Checkout Repository
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323
# LLVM and Clang
2424
- name: Cache LLVM and Clang
2525
id: cache-llvm
26-
uses: actions/cache@v2
26+
uses: actions/cache@v3
2727
with:
2828
path: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}
2929
key: ${{ matrix.os }}-llvm-${{ matrix.clang[0] }}
@@ -35,23 +35,15 @@ jobs:
3535
cached: ${{ steps.cache-llvm.outputs.cache-hit }}
3636
# Rust
3737
- name: Install Rust
38-
uses: actions-rs/toolchain@v1
39-
with:
40-
toolchain: ${{ matrix.rust }}
38+
uses: dtolnay/rust-toolchain@1.40.0
4139
# Test
4240
- name: Cargo Test (Dynamic)
43-
uses: actions-rs/cargo@v1
4441
env:
4542
LIBCLANG_PATH: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}/lib
4643
LLVM_CONFIG_PATH: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}/bin/llvm-config
47-
with:
48-
command: test
49-
args: --verbose --features ${{ matrix.clang[1] }} -- --nocapture
44+
run: cargo test --verbose --features ${{ matrix.clang[1] }} -- --nocapture
5045
- name: Cargo Test (Runtime)
51-
uses: actions-rs/cargo@v1
5246
env:
5347
LIBCLANG_PATH: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}/lib
5448
LLVM_CONFIG_PATH: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}/bin/llvm-config
55-
with:
56-
command: test
57-
args: --verbose --features "${{ matrix.clang[1] }} runtime" -- --nocapture
49+
run: cargo test --verbose --features "${{ matrix.clang[1] }} runtime" -- --nocapture

0 commit comments

Comments
 (0)