Skip to content

Commit

Permalink
ci: Update alorel-actions/cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Oct 27, 2024
1 parent d93ec99 commit 536cdad
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: Checkout

- name: Init toolchain
uses: alorel-actions/cargo/init@v1
uses: alorel-actions/cargo/init@v2
with:
cache-prefix: release

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ jobs:
uses: ./.github/actions/changelog

- name: Init toolchain
uses: alorel-actions/cargo/init@v1
uses: alorel-actions/cargo/init@v2
with:
cache-prefix: release

- name: cargo-bump
uses: alorel-actions/cargo/bump@v1
uses: alorel-actions/cargo/bump@v2
with:
release-type: ${{ steps.changelog.outputs.release-type }}

- name: Git release
uses: alorel-actions/cargo/release-git@v1
uses: alorel-actions/cargo/release-git@v2
with:
version: ${{ steps.changelog.outputs.version }}
changelog: ${{ steps.changelog.outputs.changelog }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: actions/checkout@v4

- name: Init toolchain
uses: alorel-actions/cargo/init@v1
uses: alorel-actions/cargo/init@v2
id: toolchain
with:
toolchain: nightly-2024-10-18
Expand All @@ -61,7 +61,7 @@ jobs:
uses: actions/checkout@v4

- name: Init toolchain
uses: alorel-actions/cargo/init@v1
uses: alorel-actions/cargo/init@v2
id: toolchain
with:
cache-prefix: doctest
Expand All @@ -78,7 +78,7 @@ jobs:
uses: actions/checkout@v4

- name: Init toolchain
uses: alorel-actions/cargo/init@v1
uses: alorel-actions/cargo/init@v2
id: toolchain
with:
components: rustfmt,clippy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v4

- name: Init toolchain
uses: alorel-actions/cargo/init@v1
uses: alorel-actions/cargo/init@v2
with:
toolchain: ${{ inputs.toolchain }}
cache-prefix: test
Expand Down

0 comments on commit 536cdad

Please sign in to comment.