Skip to content

Commit dbbccfb

Browse files
committed
.github/workflows/*: update actions' versions.
1 parent 757c9f7 commit dbbccfb

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.github/workflows/ci.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
os: [ ubuntu-latest, windows-latest, macos-latest ]
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424

2525
- name: Get date
2626
id: get-date
2727
run: echo "date=$(date -u +%Y-%m)" >> $GITHUB_OUTPUT
2828
shell: bash
2929

30-
- uses: actions/cache@v3
30+
- uses: actions/cache@v4
3131
with:
3232
path: |
3333
~/.cargo/registry
@@ -161,7 +161,7 @@ jobs:
161161
cd bindings/go
162162
go test -test.v
163163
164-
- uses: actions/upload-artifact@v3
164+
- uses: actions/upload-artifact@v4
165165
if: ${{ runner.os == 'Windows' }}
166166
with:
167167
name: blst-arm-test.exe
@@ -173,7 +173,7 @@ jobs:
173173
needs: rust-n-go
174174

175175
steps:
176-
- uses: actions/download-artifact@v3
176+
- uses: actions/download-artifact@v4
177177
with:
178178
name: blst-arm-test.exe
179179

@@ -189,21 +189,21 @@ jobs:
189189
runs-on: ubuntu-latest
190190

191191
steps:
192-
- uses: actions/checkout@v3
192+
- uses: actions/checkout@v4
193193

194-
- uses: actions/cache@v3
194+
- uses: actions/cache@v4
195195
with:
196196
path: ~/swig
197197
key: ${{ runner.os }}-swig-github
198198

199-
- uses: actions/setup-java@v3
199+
- uses: actions/setup-java@v4
200200
with:
201201
distribution: temurin
202202
java-version: 11
203203

204-
- uses: actions/setup-node@v3
204+
- uses: actions/setup-node@v4
205205
with:
206-
node-version: '16.x'
206+
node-version: '20.x'
207207

208208
- name: Environment
209209
run: |

.github/workflows/codeql-analysis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929

3030
steps:
3131
- name: Checkout repository
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333
with:
3434
# We must fetch at least the immediate parents so that if this is
3535
# a pull request then we can checkout the head.
3636
fetch-depth: 2
3737

3838
# Initializes the CodeQL tools for scanning.
3939
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@v2
40+
uses: github/codeql-action/init@v3
4141
with:
4242
languages: ${{ matrix.language }}
4343
queries: security-extended
@@ -48,8 +48,8 @@ jobs:
4848

4949
- if: matrix.language != 'cpp'
5050
name: Autobuild
51-
uses: github/codeql-action/autobuild@v2
51+
uses: github/codeql-action/autobuild@v3
5252

5353
- name: Perform CodeQL Analysis
54-
uses: github/codeql-action/analyze@v2
54+
uses: github/codeql-action/analyze@v3
5555

.github/workflows/golang-lint.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
golang-lint:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
21-
- uses: actions/setup-go@v4
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-go@v5
2222
with:
2323
go-version: '>=1.21'
2424
cache: false
2525
- name: "go version"
2626
run: go version
27-
- uses: golangci/golangci-lint-action@v3
27+
- uses: golangci/golangci-lint-action@v4
2828
with:
2929
# Require: The version of golangci-lint to use.
3030
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.

0 commit comments

Comments
 (0)