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

ci: update actions/checkout and Swatinem/rust-cache actions #34

Open
wants to merge 2 commits into
base: main
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: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
name: Build & Test (toolchain:${{ matrix.toolchain }}, target:${{ matrix.target }})

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# We use toolchain descriptors ("msrv", "stable", and "nightly") in the
# matrix. This step converts the current descriptor to a particular
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
components: clippy ${{ matrix.toolchain == 'nightly' && ', miri' || '' }}

- name: Rust Cache
uses: Swatinem/rust-cache@v2.0.0
uses: Swatinem/rust-cache@v2

# When building tests for the i686 target, we need certain libraries which
# are not installed by default; `gcc-multilib` includes these libraries.
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
runs-on: ubuntu-latest
name: cargo fmt
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Rust (nightly)
uses: actions-rs/toolchain@v1
with:
Expand All @@ -184,15 +184,15 @@ jobs:
runs-on: ubuntu-latest
name: cargo clippy
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Rust (nightly)
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: clippy
- name: Rust Cache
uses: Swatinem/rust-cache@v2.0.0
uses: Swatinem/rust-cache@v2
- name: "`cargo clippy`"
run: |
set -e
Expand All @@ -202,9 +202,9 @@ jobs:
runs-on: ubuntu-latest
name: Check MSRVs match
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Rust Cache
uses: Swatinem/rust-cache@v2.0.0
uses: Swatinem/rust-cache@v2
- uses: extractions/setup-just@v1
# Make sure that the MSRV in async-backtrace's and async-backtrace-attributes's
# `Cargo.toml` files are the same.
Expand All @@ -215,9 +215,9 @@ jobs:
runs-on: ubuntu-latest
name: Check README is correctly generated.
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Rust Cache
uses: Swatinem/rust-cache@v2.0.0
uses: Swatinem/rust-cache@v2
- uses: extractions/setup-just@v1
- name: Check MSRVs match
run: |
Expand Down
Loading