Skip to content

Commit

Permalink
Use actions/checkout@latest in github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
azriel91 committed Mar 9, 2024
1 parent 80b9d33 commit 8d70cac
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@latest
- uses: dtolnay/rust-toolchain@stable

- name: 'Install `wasm-pack`'
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@latest
- uses: bp3d-actions/audit-check@9c23bd47e5e7b15b824739e0862cb878a52cc211
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -23,7 +23,7 @@ jobs:
name: Licenses
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@latest
- uses: EmbarkStudios/cargo-deny-action@v1

- name: cargo-about cache
Expand All @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@latest
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
Expand All @@ -61,7 +61,7 @@ jobs:
RUSTDOCFLAGS: "-Dwarnings"
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3
uses: actions/checkout@latest
- uses: dtolnay/rust-toolchain@stable

- name: Check spelling
Expand All @@ -74,7 +74,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@latest
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@latest
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@latest
- uses: dtolnay/rust-toolchain@stable

- uses: taiki-e/install-action@nextest
Expand All @@ -164,7 +164,7 @@ jobs:
- name: Prepare symlink configuration
run: git config --global core.symlinks true

- uses: actions/checkout@v3
- uses: actions/checkout@latest
- uses: dtolnay/rust-toolchain@stable

- uses: taiki-e/install-action@nextest
Expand All @@ -176,7 +176,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@latest
- uses: dtolnay/rust-toolchain@stable

- name: 'Example: download (native)'
Expand All @@ -190,7 +190,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@latest
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@latest
- uses: bp3d-actions/audit-check@9c23bd47e5e7b15b824739e0862cb878a52cc211
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@latest
- uses: dtolnay/rust-toolchain@stable

- uses: taiki-e/install-action@nextest
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Prepare symlink configuration
run: git config --global core.symlinks true

- uses: actions/checkout@v3
- uses: actions/checkout@latest
- uses: dtolnay/rust-toolchain@stable

- uses: taiki-e/install-action@nextest
Expand All @@ -53,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@latest
- uses: dtolnay/rust-toolchain@stable

- name: cargo-release Cache
Expand Down

0 comments on commit 8d70cac

Please sign in to comment.