@@ -18,15 +18,15 @@ jobs:
18
18
lint :
19
19
runs-on : ubuntu-latest
20
20
steps :
21
- - uses : actions/checkout@v2
21
+ - uses : actions/checkout@v4
22
22
23
23
- name : Use Node.js
24
- uses : actions/setup-node@v2
24
+ uses : actions/setup-node@v4
25
25
with :
26
26
node-version-file : ' .nvmrc'
27
27
28
28
- name : Cache node modules
29
- uses : actions/cache@v2
29
+ uses : actions/cache@v4
30
30
env :
31
31
cache-name : cache-node-modules
32
32
with :
@@ -63,17 +63,17 @@ jobs:
63
63
PGPASSWORD : postgres
64
64
PGDATABASE : postgres
65
65
steps :
66
- - uses : actions/checkout@v2
66
+ - uses : actions/checkout@v4
67
67
with :
68
68
fetch-depth : 0
69
69
70
70
- name : Use Node.js
71
- uses : actions/setup-node@v2
71
+ uses : actions/setup-node@v4
72
72
with :
73
73
node-version-file : ' .nvmrc'
74
74
75
75
- name : Cache node modules
76
- uses : actions/cache@v2
76
+ uses : actions/cache@v4
77
77
env :
78
78
cache-name : cache-node-modules
79
79
with :
99
99
run : npm run test:${{ matrix.suite }} -- --coverage
100
100
101
101
- name : Upload coverage to Codecov
102
- uses : codecov/codecov-action@v3
102
+ uses : codecov/codecov-action@v4
103
+ with :
104
+ token : ${{ secrets.CODECOV_TOKEN }}
103
105
104
106
- name : Print integration environment logs
105
107
run : cat docker-compose-logs.txt
@@ -115,14 +117,14 @@ jobs:
115
117
- lint
116
118
- test
117
119
steps :
118
- - uses : actions/checkout@v2
120
+ - uses : actions/checkout@v4
119
121
with :
120
122
token : ${{ secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}
121
123
fetch-depth : 0
122
124
persist-credentials : false
123
125
124
126
- name : Semantic Release
125
- uses : cycjimmy/semantic-release-action@v3
127
+ uses : cycjimmy/semantic-release-action@v4
126
128
id : semantic
127
129
# Only run on non-PR events or only PRs that aren't from forks
128
130
if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
@@ -137,11 +139,11 @@ jobs:
137
139
conventional-changelog-conventionalcommits@6.1.0
138
140
139
141
- name : Set up Docker Buildx
140
- uses : docker/setup-buildx-action@v1
142
+ uses : docker/setup-buildx-action@v3
141
143
142
144
- name : Docker Meta
143
145
id : meta
144
- uses : docker/metadata-action@v3
146
+ uses : docker/metadata-action@v5
145
147
with :
146
148
images : |
147
149
hirosystems/${{ github.event.repository.name }}
@@ -152,13 +154,13 @@ jobs:
152
154
type=semver,pattern={{major}}.{{minor}},value=${{ steps.semantic.outputs.new_release_version }},enable=${{ steps.semantic.outputs.new_release_version != '' }}
153
155
154
156
- name : Login to DockerHub
155
- uses : docker/login-action@v1
157
+ uses : docker/login-action@v3
156
158
with :
157
159
username : ${{ secrets.DOCKERHUB_USERNAME }}
158
160
password : ${{ secrets.DOCKERHUB_PASSWORD }}
159
161
160
162
- name : Build/Tag/Push Image
161
- uses : docker/build-push-action@v2
163
+ uses : docker/build-push-action@v5
162
164
with :
163
165
context : .
164
166
tags : ${{ steps.meta.outputs.tags }}
0 commit comments