Skip to content

Commit 114ba7a

Browse files
authored
ci: bump dependencies; remove node 12 and node 14 (minio#1250)
1 parent 9a092f3 commit 114ba7a

File tree

3 files changed

+13
-14
lines changed

3 files changed

+13
-14
lines changed

.github/workflows/codeql-analysis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v2
41+
uses: actions/checkout@v4
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v1
45+
uses: github/codeql-action/init@v2
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -53,7 +53,7 @@ jobs:
5353
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5454
# If this step fails, then you should remove it and run the build manually (see below)
5555
- name: Autobuild
56-
uses: github/codeql-action/autobuild@v1
56+
uses: github/codeql-action/autobuild@v2
5757

5858
# ℹ️ Command-line programs to run using the OS shell.
5959
# 📚 https://git.io/JvXDl
@@ -67,4 +67,4 @@ jobs:
6767
# make release
6868

6969
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v1
70+
uses: github/codeql-action/analyze@v2

.github/workflows/lint.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
lint:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-node@v3
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
1717
with:
18-
node-version: '18.x'
18+
node-version: '20.x'
1919
cache: 'npm'
2020

2121
- run: npm ci
@@ -27,10 +27,10 @@ jobs:
2727
name: Build on node lts
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@v3
31-
- uses: actions/setup-node@v3
30+
- uses: actions/checkout@v4
31+
- uses: actions/setup-node@v4
3232
with:
33-
node-version: '18.x'
33+
node-version: '20.x'
3434
cache: 'npm'
3535

3636
- run: npm ci

.github/workflows/test.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
max-parallel: 5
1717
matrix:
18-
node_version: [ 20.x, 18.x, 16.x, 14.x, 12.x, ]
18+
node_version: [ 20.x, 18.x, 16.x ]
1919
os: [ ubuntu-latest, windows-latest ]
2020

2121
env:
@@ -33,7 +33,6 @@ jobs:
3333
chmod +x /tmp/minio
3434
/tmp/minio -C /tmp/minio-config server /tmp/data{1...4} &
3535
36-
3736
- run: Invoke-WebRequest -Uri https://dl.minio.io/server/minio/release/windows-amd64/minio.exe -OutFile $HOME/minio.exe
3837
if: ${{ matrix.os == 'windows-latest' }}
3938

@@ -43,9 +42,9 @@ jobs:
4342
run: |
4443
$HOME/minio.exe -C $HOME/tmp/minio-config server $HOME/tmp/data{1...4} &
4544
46-
- uses: actions/checkout@v3
45+
- uses: actions/checkout@v4
4746
- name: Use Node.js ${{ matrix.node_version }}
48-
uses: actions/setup-node@v3
47+
uses: actions/setup-node@v4
4948
with:
5049
node-version: ${{ matrix.node_version }}
5150
cache: 'npm'

0 commit comments

Comments
 (0)