Skip to content

Commit 72bebdd

Browse files
committed
ci: update actions version
1 parent 55a6ff7 commit 72bebdd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/workflow.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Rustfmt [Formatter]
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
- uses: actions-rs/toolchain@v1
2020
with:
2121
profile: minimal
@@ -116,19 +116,19 @@ jobs:
116116

117117
# Cache files between builds
118118
- name: Cache cargo registry
119-
uses: actions/cache@v1
119+
uses: actions/cache@v4
120120
with:
121121
path: ~/.cargo/registry
122122
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
123123

124124
- name: Cache cargo index
125-
uses: actions/cache@v1
125+
uses: actions/cache@v4
126126
with:
127127
path: ~/.cargo/git
128128
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
129129

130130
- name: Cache cargo build
131-
uses: actions/cache@v1
131+
uses: actions/cache@v4
132132
with:
133133
path: target
134134
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}

0 commit comments

Comments
 (0)