Skip to content

Commit

Permalink
[ci] update to actions/checkout@v3
Browse files Browse the repository at this point in the history
Node 12 is being deprecated -- switch to the new version.
  • Loading branch information
sunshowers committed Oct 19, 2022
1 parent 3d13d0e commit d41d61b
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
os: [ ubuntu-latest ]
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand All @@ -74,7 +74,7 @@ jobs:
rust-version: [ 1.62, stable ]
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust-version }}
Expand Down Expand Up @@ -107,31 +107,31 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --all-targets ${{ matrix.features }}
args: --all-targets
- name: Doctests
uses: actions-rs/cargo@v1
with:
command: test
args: --doc ${{ matrix.features }}
args: --doc
- name: Test with locally built nextest
uses: actions-rs/cargo@v1
with:
command: local-nt
args: run ${{ matrix.features }} --profile ci
args: run --profile ci
- name: Install latest nextest release
uses: taiki-e/install-action@nextest
- name: Test with latest nextest release
uses: actions-rs/cargo@v1
with:
command: nextest
args: run ${{ matrix.features }} --profile ci
args: run --profile ci

test-archive-target-runner:
name: Test archives with a target runner
# gcc-mingw-w64-x86-64-win32 requires Ubuntu 22.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install host toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
RUSTFLAGS: -D warnings
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hakari.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
env:
RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
if: github.repository_owner == 'nextest-rs' && startsWith(github.ref_name, 'quick-junit-')
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: taiki-e/create-gh-release-action@v1
Expand All @@ -27,7 +27,7 @@ jobs:
if: github.repository_owner == 'nextest-rs' && startsWith(github.ref_name, 'nextest-filtering-')
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: taiki-e/create-gh-release-action@v1
Expand All @@ -43,7 +43,7 @@ jobs:
if: github.repository_owner == 'nextest-rs' && startsWith(github.ref_name, 'nextest-metadata-')
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: taiki-e/create-gh-release-action@v1
Expand All @@ -59,7 +59,7 @@ jobs:
if: github.repository_owner == 'nextest-rs' && startsWith(github.ref_name, 'nextest-runner-')
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: taiki-e/create-gh-release-action@v1
Expand All @@ -75,7 +75,7 @@ jobs:
if: github.repository_owner == 'nextest-rs' && startsWith(github.ref_name, 'cargo-nextest-')
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
persist-credentials: false
- uses: taiki-e/create-gh-release-action@v1
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
- cargo-nextest-release
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
- build-cargo-nextest-binaries-mac
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Download mukti
run: |
mkdir -p ~/bin
Expand Down
2 changes: 1 addition & 1 deletion site/src/book/installing-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
ci:
# ...
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# Install a Rust toolchain here.
- name: Install cargo-nextest
uses: baptiste0928/cargo-install@v1
Expand Down

0 comments on commit d41d61b

Please sign in to comment.