Skip to content

Commit ddbc682

Browse files
committed
Bump actions versions
Bump actions checkout to v4 since Node.js 16 actions are deprecated. We need to update to Node.js 20, which is included in actions/checkout@v4. Also bumps setup-go, actions-goveralls and github-script
1 parent 873b823 commit ddbc682

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/integration.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
PROMETHEUS_IMAGE: prom/prometheus:latest
2626
steps:
2727
- name: Checkout code
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4.1.3
2929
- name: Prepare environment
3030
run: |
3131
mkdir -p /opt/stack/
@@ -119,7 +119,7 @@ jobs:
119119
PROMETHEUS_IMAGE: prom/prometheus:latest
120120
steps:
121121
- name: Checkout code
122-
uses: actions/checkout@v3
122+
uses: actions/checkout@v4.1.3
123123
- name: Prepare environment
124124
run: |
125125
mkdir -p /opt/stack/
@@ -217,7 +217,7 @@ jobs:
217217
PROMETHEUS_IMAGE: prom/prometheus:latest
218218
steps:
219219
- name: Checkout code
220-
uses: actions/checkout@v3
220+
uses: actions/checkout@v4.1.3
221221
- name: Prepare environment
222222
run: |
223223
mkdir -p /opt/stack/
@@ -299,7 +299,7 @@ jobs:
299299
RSYSLOG_VOLUME: "--volume ${{ github.workspace }}/ci/service_configs/rsyslog/rsyslog_config.conf:/etc/rsyslog.d/integration.conf:z"
300300
steps:
301301
- name: Checkout code
302-
uses: actions/checkout@v3
302+
uses: actions/checkout@v4.1.3
303303
# start data store services
304304
- name: Start Elasticsearch service
305305
run: |

.github/workflows/tests.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
runs-on: ubuntu-20.04
2222
container: 'quay.io/plmr/sg-core-ci'
2323
steps:
24-
- uses: actions/setup-go@v3
24+
- uses: actions/setup-go@v5
2525
with:
2626
go-version: '1.20'
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4.1.3
2828
#- name: download libraries
2929
# run: go mod download
3030
- name: golangci-lint
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: ubuntu-20.04
4040
steps:
4141
- name: Checkout code
42-
uses: actions/checkout@v2
42+
uses: actions/checkout@v4.1.3
4343
# start services
4444
- name: Start Elasticsearch service
4545
run: |
@@ -68,15 +68,15 @@ jobs:
6868
--volume ${{ github.workspace }}:$PROJECT_ROOT:z --workdir $PROJECT_ROOT \
6969
$TEST_IMAGE bash $PROJECT_ROOT/ci/unit/run_tests.sh
7070
- name: Send coverage
71-
uses: shogo82148/actions-goveralls@v1
71+
uses: shogo82148/actions-goveralls@v1.8.0
7272
with:
7373
path-to-profile: ${{ github.workspace }}/profile.cov
7474
image-build:
7575
name: Image build
7676
runs-on: ubuntu-20.04
7777
steps:
78-
- uses: actions/checkout@v2
79-
- uses: actions/setup-go@v2
78+
- uses: actions/checkout@v4.1.3
79+
- uses: actions/setup-go@v5
8080
with:
8181
go-version: '1.20'
8282
- name: Verify image builds

.github/workflows/updates.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-20.04
2020
steps:
2121
- name: update PR with coveralls badge
22-
uses: actions/github-script@v3
22+
uses: actions/github-script@v7
2323
with:
2424
github-token: ${{ secrets.GITHUB_TOKEN }}
2525
script: |

0 commit comments

Comments
 (0)