Skip to content

Commit

Permalink
Use actions/checkout@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Jun 14, 2024
1 parent d918bfb commit d895bea
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- os: macos-14
toolchain: stable
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
Expand All @@ -58,7 +58,7 @@ jobs:
# TODO: Find a Linux image/runner with CONFIG_X86_X32_ABI set
cargo_test_opts: --no-run
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
target: aarch64-apple-ios-sim
ios_platform: auto-ios-aarch64-sim
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
stable-i686-msvc,
]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
Expand All @@ -147,7 +147,7 @@ jobs:
name: Test Windows 7 impl on Windows 10
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Win7 targets are Tier3, so pin a nightly where libstd builds.
- uses: dtolnay/rust-toolchain@master
with:
Expand All @@ -171,7 +171,7 @@ jobs:
wasm32-unknown-emscripten,
]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install precompiled cross
run: |
VERSION=v0.2.5
Expand All @@ -185,7 +185,7 @@ jobs:
name: macOS ARM64 Build/Link
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
targets: aarch64-apple-darwin, aarch64-apple-ios
Expand All @@ -207,7 +207,7 @@ jobs:
x86_64-unknown-netbsd,
]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install precompiled cross
run: |
VERSION=v0.2.5
Expand All @@ -234,7 +234,7 @@ jobs:
host: x86_64-apple-darwin
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: choco install wget
if: runner.os == 'Windows'
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
name: wasm64 Build/Link
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly # Need to build libstd
with:
components: rust-src
Expand All @@ -280,7 +280,7 @@ jobs:
name: WASI Test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-wasi
Expand All @@ -304,7 +304,7 @@ jobs:
x86_64-fortanix-unknown-sgx,
]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
Expand Down Expand Up @@ -346,7 +346,7 @@ jobs:
- target: i686-unknown-hurd-gnu
features: ["std"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly # Required to build libcore
with:
components: rust-src
Expand All @@ -357,7 +357,7 @@ jobs:
name: No Atomics Build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: riscv32i-unknown-none-elf
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
env:
RUSTFLAGS: "-Dwarnings"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
# We need Nightly for -Zbuild-std.
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
Expand All @@ -82,7 +82,7 @@ jobs:
name: rustdoc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
# We need Nightly for doc_auto_cfg
Expand Down

0 comments on commit d895bea

Please sign in to comment.