Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade action versions to silent nodejs 12 deprecated warning #50

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 5 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
rust: ["1.40.0"]
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3
# LLVM and Clang
- name: Cache LLVM and Clang
id: cache-llvm
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}
key: ${{ matrix.os }}-llvm-${{ matrix.clang[0] }}
Expand All @@ -35,23 +35,15 @@ jobs:
cached: ${{ steps.cache-llvm.outputs.cache-hit }}
# Rust
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
uses: dtolnay/rust-toolchain@1.40.0
# Test
- name: Cargo Test (Dynamic)
uses: actions-rs/cargo@v1
env:
LIBCLANG_PATH: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}/lib
LLVM_CONFIG_PATH: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}/bin/llvm-config
with:
command: test
args: --verbose --features ${{ matrix.clang[1] }} -- --nocapture
run: cargo test --verbose --features ${{ matrix.clang[1] }} -- --nocapture
- name: Cargo Test (Runtime)
uses: actions-rs/cargo@v1
env:
LIBCLANG_PATH: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}/lib
LLVM_CONFIG_PATH: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}/bin/llvm-config
with:
command: test
args: --verbose --features "${{ matrix.clang[1] }} runtime" -- --nocapture
run: cargo test --verbose --features "${{ matrix.clang[1] }} runtime" -- --nocapture