Skip to content

Commit 0718708

Browse files
authored
Merge pull request #3155 from hi-rustin/rustin-patch-actions
Update GitHub Actions templates
2 parents 6286ed1 + 0827b68 commit 0718708

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

ci/actions-templates/centos-fmt-clippy-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
run: |
4040
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
4141
- name: Cache cargo registry and git trees
42-
uses: actions/cache@v2
42+
uses: actions/cache@v3
4343
with:
4444
path: |
4545
~/.cargo/registry
@@ -51,7 +51,7 @@ jobs:
5151
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
5252
shell: bash
5353
- name: Cache cargo build
54-
uses: actions/cache@v2
54+
uses: actions/cache@v3
5555
with:
5656
path: target
5757
key: ${{ github.base_ref }}-${{ github.head_ref }}-${{ runner.os }}-cargo-clippy-target-dir-${{ steps.cargo-target-cache.outputs.rust_hash }}-${{ hashFiles('**/Cargo.lock') }}

ci/actions-templates/linux-builds-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
echo "SKIP_TESTS=yes" >> $GITHUB_ENV
8989
if: matrix.run_tests == ''
9090
- name: Cache cargo registry and git trees
91-
uses: actions/cache@v2
91+
uses: actions/cache@v3
9292
with:
9393
path: |
9494
~/.cargo/registry
@@ -100,7 +100,7 @@ jobs:
100100
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
101101
shell: bash
102102
- name: Cache cargo build
103-
uses: actions/cache@v2
103+
uses: actions/cache@v3
104104
with:
105105
path: target
106106
key: ${{ github.base_ref }}-${{ github.head_ref }}-${{ matrix.target }}-cargo-target-dir-${{ steps.cargo-target-cache.outputs.rust_hash }}-${{ hashFiles('**/Cargo.lock') }}

ci/actions-templates/macos-builds-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
echo "SKIP_TESTS=" >> $GITHUB_ENV
4545
echo "LZMA_API_STATIC=1" >> $GITHUB_ENV
4646
- name: Cache cargo registry and git trees
47-
uses: actions/cache@v2
47+
uses: actions/cache@v3
4848
with:
4949
path: |
5050
~/.cargo/registry
@@ -56,7 +56,7 @@ jobs:
5656
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
5757
shell: bash
5858
- name: Cache cargo build
59-
uses: actions/cache@v2
59+
uses: actions/cache@v3
6060
with:
6161
path: target
6262
key: ${{ github.base_ref }}-${{ github.head_ref }}-${{ matrix.target }}-cargo-target-dir-${{ steps.cargo-target-cache.outputs.rust_hash }}-${{ hashFiles('**/Cargo.lock') }}-3

ci/actions-templates/windows-builds-template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
echo "TARGET=${{ matrix.target }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
7676
echo "SKIP_TESTS=${{ matrix.skip_tests }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
7777
- name: Cache cargo registry and git trees
78-
uses: actions/cache@v2
78+
uses: actions/cache@v3
7979
with:
8080
path: |
8181
~/.cargo/registry
@@ -87,7 +87,7 @@ jobs:
8787
echo "::set-output name=rust_hash::$(rustc -Vv | grep commit-hash | awk '{print $2}')"
8888
shell: bash
8989
- name: Cache cargo build
90-
uses: actions/cache@v2
90+
uses: actions/cache@v3
9191
with:
9292
path: target
9393
key: ${{ github.base_ref }}-${{ github.head_ref }}-${{ matrix.target }}-cargo-target-dir-${{ steps.cargo-target-cache.outputs.rust_hash }}-${{ hashFiles('**/Cargo.lock') }}

0 commit comments

Comments
 (0)