Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit f6d441d

Browse files
authored
ci: update action versions (#312)
* ci: update action versions * ci: update more * ci: codecov * fix: codecov token
1 parent 395cfca commit f6d441d

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
lint:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v4
2222

2323
- name: Use Node.js
24-
uses: actions/setup-node@v2
24+
uses: actions/setup-node@v4
2525
with:
2626
node-version-file: '.nvmrc'
2727

2828
- name: Cache node modules
29-
uses: actions/cache@v2
29+
uses: actions/cache@v4
3030
env:
3131
cache-name: cache-node-modules
3232
with:
@@ -63,17 +63,17 @@ jobs:
6363
PGPASSWORD: postgres
6464
PGDATABASE: postgres
6565
steps:
66-
- uses: actions/checkout@v2
66+
- uses: actions/checkout@v4
6767
with:
6868
fetch-depth: 0
6969

7070
- name: Use Node.js
71-
uses: actions/setup-node@v2
71+
uses: actions/setup-node@v4
7272
with:
7373
node-version-file: '.nvmrc'
7474

7575
- name: Cache node modules
76-
uses: actions/cache@v2
76+
uses: actions/cache@v4
7777
env:
7878
cache-name: cache-node-modules
7979
with:
@@ -99,7 +99,9 @@ jobs:
9999
run: npm run test:${{ matrix.suite }} -- --coverage
100100

101101
- name: Upload coverage to Codecov
102-
uses: codecov/codecov-action@v3
102+
uses: codecov/codecov-action@v4
103+
with:
104+
token: ${{ secrets.CODECOV_TOKEN }}
103105

104106
- name: Print integration environment logs
105107
run: cat docker-compose-logs.txt
@@ -115,14 +117,14 @@ jobs:
115117
- lint
116118
- test
117119
steps:
118-
- uses: actions/checkout@v2
120+
- uses: actions/checkout@v4
119121
with:
120122
token: ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}
121123
fetch-depth: 0
122124
persist-credentials: false
123125

124126
- name: Semantic Release
125-
uses: cycjimmy/semantic-release-action@v3
127+
uses: cycjimmy/semantic-release-action@v4
126128
id: semantic
127129
# Only run on non-PR events or only PRs that aren't from forks
128130
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
@@ -137,11 +139,11 @@ jobs:
137139
conventional-changelog-conventionalcommits@6.1.0
138140
139141
- name: Set up Docker Buildx
140-
uses: docker/setup-buildx-action@v1
142+
uses: docker/setup-buildx-action@v3
141143

142144
- name: Docker Meta
143145
id: meta
144-
uses: docker/metadata-action@v3
146+
uses: docker/metadata-action@v5
145147
with:
146148
images: |
147149
hirosystems/${{ github.event.repository.name }}
@@ -152,13 +154,13 @@ jobs:
152154
type=semver,pattern={{major}}.{{minor}},value=${{ steps.semantic.outputs.new_release_version }},enable=${{ steps.semantic.outputs.new_release_version != '' }}
153155
154156
- name: Login to DockerHub
155-
uses: docker/login-action@v1
157+
uses: docker/login-action@v3
156158
with:
157159
username: ${{ secrets.DOCKERHUB_USERNAME }}
158160
password: ${{ secrets.DOCKERHUB_PASSWORD }}
159161

160162
- name: Build/Tag/Push Image
161-
uses: docker/build-push-action@v2
163+
uses: docker/build-push-action@v5
162164
with:
163165
context: .
164166
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)