Skip to content

Commit c57aacf

Browse files
committed
Update GHA actions for Node.js 12 deprecation
1 parent e0ba71e commit c57aacf

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/main.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,21 @@ jobs:
4747
- uses: actions/checkout@v3
4848

4949
- name: Cache cargo installed crates
50-
uses: actions/cache@v2
50+
uses: actions/cache@v3
5151
with:
5252
path: ~/.cargo/bin
5353
key: ${{ runner.os }}-cargo-installed-crates
5454

5555
- name: Cache cargo registry and index
56-
uses: actions/cache@v2
56+
uses: actions/cache@v3
5757
with:
5858
path: |
5959
~/.cargo/registry
6060
~/.cargo/git
6161
key: ${{ runner.os }}-cargo-registry-and-index-${{ hashFiles('**/Cargo.lock') }}
6262

6363
- name: Cache cargo target dir
64-
uses: actions/cache@v2
64+
uses: actions/cache@v3
6565
with:
6666
path: target
6767
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
@@ -122,7 +122,7 @@ jobs:
122122

123123
- name: Upload prebuilt cg_clif (cross compile)
124124
if: matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
125-
uses: actions/upload-artifact@v2
125+
uses: actions/upload-artifact@v3
126126
with:
127127
name: cg_clif-${{ runner.os }}-cross-x86_64-mingw
128128
path: cg_clif.tar.xz
@@ -148,21 +148,21 @@ jobs:
148148
- uses: actions/checkout@v3
149149

150150
- name: Cache cargo installed crates
151-
uses: actions/cache@v2
151+
uses: actions/cache@v3
152152
with:
153153
path: ~/.cargo/bin
154154
key: ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-cargo-installed-crates
155155

156156
- name: Cache cargo registry and index
157-
uses: actions/cache@v2
157+
uses: actions/cache@v3
158158
with:
159159
path: |
160160
~/.cargo/registry
161161
~/.cargo/git
162162
key: ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-cargo-registry-and-index-${{ hashFiles('**/Cargo.lock') }}
163163

164164
- name: Cache cargo target dir
165-
uses: actions/cache@v2
165+
uses: actions/cache@v3
166166
with:
167167
path: target
168168
key: ${{ runner.os }}-${{ matrix.env.TARGET_TRIPLE }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
@@ -216,7 +216,7 @@ jobs:
216216
run: tar cvf cg_clif.tar build
217217

218218
- name: Upload prebuilt cg_clif
219-
uses: actions/upload-artifact@v2
219+
uses: actions/upload-artifact@v3
220220
with:
221221
name: cg_clif-${{ matrix.env.TARGET_TRIPLE }}
222222
path: cg_clif.tar

.github/workflows/nightly-cranelift.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v3
1515

1616
- name: Cache cargo installed crates
17-
uses: actions/cache@v2
17+
uses: actions/cache@v3
1818
with:
1919
path: ~/.cargo/bin
2020
key: ubuntu-latest-cargo-installed-crates

.github/workflows/rustc.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ jobs:
1111
- uses: actions/checkout@v3
1212

1313
- name: Cache cargo installed crates
14-
uses: actions/cache@v2
14+
uses: actions/cache@v3
1515
with:
1616
path: ~/.cargo/bin
1717
key: ${{ runner.os }}-cargo-installed-crates
1818

1919
- name: Cache cargo registry and index
20-
uses: actions/cache@v2
20+
uses: actions/cache@v3
2121
with:
2222
path: |
2323
~/.cargo/registry
2424
~/.cargo/git
2525
key: ${{ runner.os }}-cargo-registry-and-index-${{ hashFiles('**/Cargo.lock') }}
2626

2727
- name: Cache cargo target dir
28-
uses: actions/cache@v2
28+
uses: actions/cache@v3
2929
with:
3030
path: target
3131
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}
@@ -49,21 +49,21 @@ jobs:
4949
- uses: actions/checkout@v3
5050

5151
- name: Cache cargo installed crates
52-
uses: actions/cache@v2
52+
uses: actions/cache@v3
5353
with:
5454
path: ~/.cargo/bin
5555
key: ${{ runner.os }}-cargo-installed-crates
5656

5757
- name: Cache cargo registry and index
58-
uses: actions/cache@v2
58+
uses: actions/cache@v3
5959
with:
6060
path: |
6161
~/.cargo/registry
6262
~/.cargo/git
6363
key: ${{ runner.os }}-cargo-registry-and-index-${{ hashFiles('**/Cargo.lock') }}
6464

6565
- name: Cache cargo target dir
66-
uses: actions/cache@v2
66+
uses: actions/cache@v3
6767
with:
6868
path: target
6969
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain', '**/Cargo.lock') }}

0 commit comments

Comments
 (0)