Skip to content
Merged
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: 9 additions & 9 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ jobs:
- name: Set target rust version
run: echo "TARGET_RUST_VERSION=$(if [ "${{matrix.rust}}" = "msrv" ]; then grep rust-version Cargo.toml | grep MSRV | cut -d'"' -f2; else echo "${{matrix.rust}}"; fi)" >> $GITHUB_ENV
- name: Install nightly toolchain for direct-minimal-versions
uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
with:
toolchain: nightly
targets: "${{ matrix.target }}"
if: ${{ matrix.rust == 'msrv' }}
- name: Install toolchain
uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
with:
toolchain: "${TARGET_RUST_VERSION}"
targets: "${{ matrix.target }}"
Expand All @@ -64,7 +64,7 @@ jobs:
with:
target: ${{ matrix.target }}
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@ab3728c7ba6948b9b429627f4d55a68842b27f18
uses: taiki-e/install-action@1cefd1553b1693f47889dc747f7d230904296a3b
with:
tool: cargo-llvm-cov
- name: Rust cache
Expand All @@ -78,7 +78,7 @@ jobs:
env:
RUST_BACKTRACE: 1
- name: Upload coverage to Codecov
uses: codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -93,11 +93,11 @@ jobs:
with:
persist-credentials: false
- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
with:
toolchain: nightly
- name: Install udeps
uses: taiki-e/install-action@ab3728c7ba6948b9b429627f4d55a68842b27f18
uses: taiki-e/install-action@1cefd1553b1693f47889dc747f7d230904296a3b
with:
tool: cargo-udeps
- name: cargo udeps
Expand All @@ -112,7 +112,7 @@ jobs:
with:
persist-credentials: false
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
with:
toolchain: stable
components: rustfmt
Expand All @@ -139,7 +139,7 @@ jobs:
with:
persist-credentials: false
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0
uses: dtolnay/rust-toolchain@b3b07ba8b418998c39fb20f53e8b695cdcc8de1b
with:
toolchain: stable
components: clippy
Expand All @@ -153,7 +153,7 @@ jobs:
if: ${{matrix.runs_on == 'ubuntu-latest'}}

- name: Install bindgen-cli
uses: taiki-e/install-action@ab3728c7ba6948b9b429627f4d55a68842b27f18
uses: taiki-e/install-action@1cefd1553b1693f47889dc747f7d230904296a3b
with:
tool: bindgen-cli
if: ${{matrix.runs_on == 'ubuntu-latest'}}
Expand Down
Loading