Skip to content

Commit

Permalink
Update workflows to actions/checkout@v3
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 25, 2022
1 parent ce0335b commit ff84ce0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustc-dev
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
env:
target: ${{matrix.target && format('--target={0}', matrix.target)}}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
name: Examples
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- run: cargo check --manifest-path examples/dump-syntax/Cargo.toml
- run: cargo check --manifest-path examples/heapsize/example/Cargo.toml
Expand All @@ -83,7 +83,7 @@ jobs:
env:
RUSTDOCFLAGS: --cfg=doc_cfg -Dbroken_intra_doc_links
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- run: cargo test --all-features --doc
- run: cargo doc --all-features
Expand All @@ -92,7 +92,7 @@ jobs:
name: Codegen
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cd codegen && cargo run
- run: git diff --exit-code
Expand All @@ -101,7 +101,7 @@ jobs:
name: Minimal versions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- run: cargo update -Z minimal-versions
- run: cargo check --all-features
Expand All @@ -110,7 +110,7 @@ jobs:
name: Miri
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@miri
- run: cargo miri test --all-features

Expand All @@ -119,7 +119,7 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy,rustc-dev
Expand All @@ -130,6 +130,6 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: dtolnay/install@cargo-outdated
- run: cargo outdated --exit-code 1

0 comments on commit ff84ce0

Please sign in to comment.