Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleMayes committed Dec 31, 2023
1 parent b185412 commit 086408c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
rust: ["1.51.0"]
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4
# LLVM and Clang
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
Expand All @@ -28,22 +28,13 @@ jobs:
directory: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}
# Rust
- name: Install Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
# Test
- name: Cargo Test (Dynamic)
uses: actions-rs/cargo@v1
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
with:
command: test
args: --verbose --features "${{ matrix.clang[1] }} runtime" -- --nocapture
run: cargo test --verbose --features "${{ matrix.clang[1] }} runtime" -- --nocapture
- name: Cargo Run (bindgen-test)
uses: actions-rs/cargo@v1
with:
command: run
args: --manifest-path bindgen-test/Cargo.toml
run: cargo run --manifest-path bindgen-test/Cargo.toml
2 changes: 1 addition & 1 deletion .github/workflows/ssh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
directory: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }}
# Rust
- name: Install Rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
if: github.event.inputs.os == matrix.os
with:
toolchain: ${{ matrix.rust }}
Expand Down

0 comments on commit 086408c

Please sign in to comment.