Skip to content

Commit 56c5abd

Browse files
Copilotegorsmkv
andcommitted
refactor: improve bump-version workflow with caching and efficient installation
Co-authored-by: egorsmkv <7875085+egorsmkv@users.noreply.github.com>
1 parent 0a50ffe commit 56c5abd

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/bump-version.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ jobs:
1616
uses: dtolnay/rust-toolchain@master
1717
with:
1818
toolchain: stable
19-
- name: Install cargo-edit
20-
run: cargo install cargo-edit
21-
shell: bash
19+
- uses: Swatinem/rust-cache@v2
20+
with:
21+
key: stable
22+
- uses: taiki-e/install-action@cargo-edit
2223
- name: Bump version in Cargo.toml
2324
run: |
2425
cargo set-version ${{ github.event.inputs.version }}

0 commit comments

Comments
 (0)