Skip to content

Commit

Permalink
ci: Switch to specific versions of github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
VorpalBlade committed Oct 30, 2023
1 parent 121b48c commit 8edfd06
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install cross
uses: taiki-e/install-action@cross
- name: Cache builds
uses: Swatinem/rust-cache@v2
uses: Swatinem/rust-cache@v2.7.1
with:
key: ${{ matrix.target }}
- name: Cross compile and test
Expand All @@ -67,7 +67,7 @@ jobs:
- name: Install Rust
run: rustup install --profile minimal ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
- name: Cache builds
uses: Swatinem/rust-cache@v2
uses: Swatinem/rust-cache@v2.7.1
with:
save-if: ${{ matrix.features == '--no-default-features --features=updater-tls-native-vendored' }}
- name: Compile and test
Expand All @@ -94,7 +94,7 @@ jobs:
- name: Install cross
uses: taiki-e/install-action@cross
- name: Cache builds
uses: Swatinem/rust-cache@v2
uses: Swatinem/rust-cache@v2.7.1
with:
key: ${{ matrix.target }}
- name: Cross compile and test
Expand All @@ -117,6 +117,6 @@ jobs:
- name: Install Rust
run: rustup install --profile minimal stable && rustup default stable
- name: Cache builds
uses: Swatinem/rust-cache@v2
uses: Swatinem/rust-cache@v2.7.1
- name: Compile and test
run: cargo test --locked --target ${{ matrix.target }} --verbose
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
- uses: taiki-e/create-gh-release-action@v1.8.0
with:
draft: true
# (Required) GitHub token for creating GitHub Releases.
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
- uses: taiki-e/upload-rust-binary-action@v1.17.1
with:
# (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.
# Note that glob pattern is not supported yet.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: cargo binstall --no-confirm --no-symlinks clippy-sarif sarif-fmt

- name: Cache builds
uses: Swatinem/rust-cache@v2
uses: Swatinem/rust-cache@v2.7.1

- name: Run rust-clippy
run:
Expand Down

0 comments on commit 8edfd06

Please sign in to comment.