Skip to content

Commit e658953

Browse files
andreaTPriprasad
andauthored
Review GH action verions (#2827)
Co-authored-by: Rishab Prasad <61964599+riprasad@users.noreply.github.com>
1 parent e391829 commit e658953

14 files changed

+43
-43
lines changed

.github/workflows/integration-tests.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ concurrency:
2424
jobs:
2525
integration-tests:
2626
name: Integration Tests
27-
runs-on: ubuntu-18.04
27+
runs-on: ubuntu-20.04
2828
if: github.repository_owner == 'Apicurio' && !contains(github.event.*.labels.*.name, 'DO NOT MERGE')
2929
steps:
3030
- name: Show Actor
3131
run: echo ${{github.actor}}
3232
- name: Checkout Code
33-
uses: actions/checkout@v2
33+
uses: actions/checkout@v3
3434
- name: Set up JDK 11
3535
uses: actions/setup-java@v3
3636
with:

.github/workflows/kubernetes-tests-manual.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ on:
1515
jobs:
1616
kubernetes-tests:
1717
name: Kubernetes Tests
18-
runs-on: ubuntu-18.04
18+
runs-on: ubuntu-20.04
1919
if: github.repository_owner == 'Apicurio'
2020
steps:
2121
- name: Checkout Code
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323
with:
2424
ref: ${{ github.event.inputs.branch }}
2525

.github/workflows/kubernetes-tests.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ concurrency:
2424
jobs:
2525
kubernetes-tests-basic:
2626
name: Kubernetes Tests Basic
27-
runs-on: ubuntu-18.04
27+
runs-on: ubuntu-20.04
2828
if: github.repository_owner == 'Apicurio' && !contains(github.event.*.labels.*.name, 'DO NOT MERGE')
2929
steps:
3030
- name: Checkout Code
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@v3
3232

3333
- uses: actions/setup-go@v2
3434
with:
@@ -76,11 +76,11 @@ jobs:
7676

7777
kubernetes-tests-clustered:
7878
name: Kubernetes Tests Clustered
79-
runs-on: ubuntu-18.04
79+
runs-on: ubuntu-20.04
8080
if: github.repository_owner == 'Apicurio' && !contains(github.event.*.labels.*.name, 'DO NOT MERGE')
8181
steps:
8282
- name: Checkout Code
83-
uses: actions/checkout@v2
83+
uses: actions/checkout@v3
8484

8585
- uses: actions/setup-go@v2
8686
with:

.github/workflows/lint.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ concurrency:
2323
jobs:
2424
lint:
2525
name: Lint
26-
runs-on: ubuntu-18.04
26+
runs-on: ubuntu-20.04
2727
if: github.repository_owner == 'Apicurio' && !contains(github.event.*.labels.*.name, 'DO NOT MERGE')
2828
steps:
2929
- name: Checkout Code with Ref '${{ github.ref }}'
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v3
3131

3232
- name: Install tools
3333
run: .github/scripts/install-tools.sh

.github/workflows/maven-snapshot-release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ on: workflow_dispatch
33

44
jobs:
55
deploy:
6-
runs-on: ubuntu-18.04
6+
runs-on: ubuntu-20.04
77
steps:
88
- name: Checkout
9-
uses: actions/checkout@v2
9+
uses: actions/checkout@v3
1010

1111
- name: Set up JDK 11
1212
uses: actions/setup-java@v3

.github/workflows/publish-debug-image.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212
jobs:
1313
build-push-mem-image:
1414
name: Docker image from PR
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-ubuntu-20.04
1616
if: github.repository_owner == 'Apicurio'
1717
steps:
1818
- name: Checkout Code with Ref '${{ github.ref }}'

.github/workflows/registry-rhbq-build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626
jobs:
2727
build:
2828
name: Build Project
29-
runs-on: ubuntu-18.04
29+
runs-on: ubuntu-20.04
3030
if: github.repository_owner == 'Apicurio'
3131
steps:
3232

.github/workflows/release-images.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
jobs:
2222
release-images:
2323
if: github.repository_owner == 'Apicurio'
24-
runs-on: ubuntu-18.04
24+
runs-on: ubuntu-20.04
2525
env:
2626
RELEASE_TYPE: release
2727
steps:
@@ -94,7 +94,7 @@ jobs:
9494

9595
- name: Google Chat Notification
9696
if: ${{ failure() }}
97-
uses: Co-qn/google-chat-notification@releases/v1
97+
uses: Co-qn/google-chat-notification@b9227d9daa4638c9782a5bd16c4abb86268127a1
9898
with:
9999
name: ${{ github.job }}
100100
url: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}

.github/workflows/release.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
default: 'main'
1515
jobs:
1616
release:
17-
runs-on: ubuntu-18.04
17+
runs-on: ubuntu-20.04
1818
if: github.repository_owner == 'Apicurio'
1919
env:
2020
IS_PRE_RELEASE: false
@@ -73,7 +73,7 @@ jobs:
7373
make SKIP_TESTS=true BUILD_FLAGS='-Dmaven.wagon.httpconnectionManager.maxTotal=30 -Dmaven.wagon.http.retryHandler.count=5' build-all
7474
7575
- name: Import GPG Key
76-
uses: crazy-max/ghaction-import-gpg@v1
76+
uses: crazy-max/ghaction-import-gpg@f6f458f535f4ccdf100400ee0755c0e857226a66
7777
env:
7878
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
7979
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
@@ -101,7 +101,7 @@ jobs:
101101
echo "IS_PRE_RELEASE=true" >> $GITHUB_ENV
102102
103103
- name: Create GitHub Release
104-
uses: softprops/action-gh-release@v1
104+
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
105105
with:
106106
name: ${{ github.event.inputs.release-version }}
107107
tag_name: ${{ github.event.inputs.release-version }}
@@ -144,7 +144,7 @@ jobs:
144144

145145
- name: Google Chat Notification
146146
if: ${{ failure() }}
147-
uses: Co-qn/google-chat-notification@releases/v1
147+
uses: Co-qn/google-chat-notification@b9227d9daa4638c9782a5bd16c4abb86268127a1
148148
with:
149149
name: ${{ github.workflow }}
150150
url: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}

.github/workflows/tag-registry-examples.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020

2121
jobs:
2222
tag-registry-examples:
23-
runs-on: ubuntu-latest
23+
runs-on: ubuntu-20.04
2424
steps:
2525
- name: Set Versions
2626
run: |
@@ -53,7 +53,7 @@ jobs:
5353
git config --global user.email "apicurio.ci@gmail.com"
5454
5555
- name: Checkout Apicurio Registry Tag ${{ env.RELEASE_VERSION }}
56-
uses: actions/checkout@v2
56+
uses: actions/checkout@v3
5757
with:
5858
ref: ${{ env.RELEASE_VERSION }}
5959
path: apicurio-registry
@@ -64,7 +64,7 @@ jobs:
6464
run: cd apicurio-registry && make build-all
6565

6666
- name: Checkout Apicurio Registry Examples
67-
uses: actions/checkout@v2
67+
uses: actions/checkout@v3
6868
with:
6969
repository: Apicurio/apicurio-registry-examples
7070
path: apicurio-registry-examples
@@ -109,7 +109,7 @@ jobs:
109109
110110
- name: Google Chat Notification
111111
if: ${{ failure() }}
112-
uses: Co-qn/google-chat-notification@releases/v1
112+
uses: Co-qn/google-chat-notification@b9227d9daa4638c9782a5bd16c4abb86268127a1
113113
with:
114114
name: ${{ github.workflow }}
115115
url: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}

.github/workflows/tool-exportV1-release.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ on:
99

1010
jobs:
1111
build:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-20.04
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
- name: Set up JDK 11
1616
uses: actions/setup-java@v3
1717
with:

.github/workflows/update-openapi.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
update-openapi:
1010
name: Update OpenAPI
11-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-20.04
1212
if: github.repository_owner == 'Apicurio'
1313
steps:
1414
- name: Apicurio Registry Checkout

.github/workflows/update-website.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
update-website:
99
if: github.repository_owner == 'Apicurio'
10-
runs-on: ubuntu-18.04
10+
runs-on: ubuntu-20.04
1111
steps:
1212

1313
- name: Apicurio Website Checkout
@@ -68,7 +68,7 @@ jobs:
6868
6969
- name: Google Chat Notification
7070
if: ${{ failure() }}
71-
uses: Co-qn/google-chat-notification@releases/v1
71+
uses: Co-qn/google-chat-notification@b9227d9daa4638c9782a5bd16c4abb86268127a1
7272
with:
7373
name: ${{ github.job }}
7474
url: ${{ secrets.GOOGLE_CHAT_WEBHOOK }}

.github/workflows/verify.yaml

+14-14
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ env:
2727
jobs:
2828
build-verify:
2929
name: Verify Build
30-
runs-on: ubuntu-18.04
30+
runs-on: ubuntu-20.04
3131
if: github.repository_owner == 'Apicurio' && !contains(github.event.*.labels.*.name, 'DO NOT MERGE')
3232
strategy:
3333
matrix:
3434
jdk-version: [11, 17]
3535
steps:
3636
- name: Checkout Code with Ref '${{ github.ref }}'
37-
uses: actions/checkout@v2
37+
uses: actions/checkout@v3
3838

3939
- name: Set up JDK ${{ matrix.jdk-version }}
4040
uses: actions/setup-java@v3
@@ -91,11 +91,11 @@ jobs:
9191

9292
build-native-images:
9393
name: Build native images
94-
runs-on: ubuntu-18.04
94+
runs-on: ubuntu-20.04
9595
if: github.repository_owner == 'Apicurio' && !contains(github.event.*.labels.*.name, 'DO NOT MERGE')
9696
steps:
9797
- name: Checkout Code with Ref '${{ github.ref }}'
98-
uses: actions/checkout@v2
98+
uses: actions/checkout@v3
9999

100100
- name: Set up JDK 11
101101
uses: actions/setup-java@v3
@@ -177,14 +177,14 @@ jobs:
177177

178178
notify-sdk:
179179
if: github.repository_owner == 'Apicurio' && github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.*.labels.*.name, 'DO NOT MERGE')
180-
runs-on: ubuntu-latest
180+
runs-on: ubuntu-20.04
181181
strategy:
182182
matrix:
183183
language: [go, js, python]
184184
steps:
185-
- uses: actions/checkout@v2
185+
- uses: actions/checkout@v3
186186

187-
- uses: dorny/paths-filter@v2
187+
- uses: dorny/paths-filter@b2feaf19c27470162a626bd6fa8438ae5b263721
188188
id: changes
189189
with:
190190
base: main
@@ -194,7 +194,7 @@ jobs:
194194
195195
- name: Repository Dispatch
196196
if: steps.changes.outputs.openapi == 'true'
197-
uses: peter-evans/repository-dispatch@v1
197+
uses: peter-evans/repository-dispatch@ce5485de42c9b2622d2ed064be479e8ed65e76f4
198198
with:
199199
token: ${{ secrets.ACCESS_TOKEN }}
200200
repository: Apicurio/apicurio-registry-client-sdk-${{ matrix.language }}
@@ -203,11 +203,11 @@ jobs:
203203

204204
trigger-examples-build:
205205
if: github.repository_owner == 'Apicurio' && github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.*.labels.*.name, 'DO NOT MERGE')
206-
runs-on: ubuntu-latest
206+
runs-on: ubuntu-20.04
207207
needs: [build-verify]
208208
steps:
209209
- name: Repository Dispatch
210-
uses: peter-evans/repository-dispatch@v1
210+
uses: peter-evans/repository-dispatch@ce5485de42c9b2622d2ed064be479e8ed65e76f4
211211
with:
212212
token: ${{ secrets.ACCESS_TOKEN }}
213213
repository: Apicurio/apicurio-registry-examples
@@ -216,12 +216,12 @@ jobs:
216216
# Triggers apicurio-registry-mt-ui build whenever apicurio-registry/ui changes
217217
trigger-mt-ui-build:
218218
if: github.repository_owner == 'Apicurio' && github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.*.labels.*.name, 'DO NOT MERGE')
219-
runs-on: ubuntu-latest
219+
runs-on: ubuntu-20.04
220220
needs: [build-verify]
221221
steps:
222-
- uses: actions/checkout@v2
222+
- uses: actions/checkout@v3
223223

224-
- uses: dorny/paths-filter@v2
224+
- uses: dorny/paths-filter@b2feaf19c27470162a626bd6fa8438ae5b263721
225225
id: changes
226226
with:
227227
base: main
@@ -232,7 +232,7 @@ jobs:
232232
233233
- name: Repository Dispatch
234234
if: steps.changes.outputs.registry-ui == 'true'
235-
uses: peter-evans/repository-dispatch@v1
235+
uses: peter-evans/repository-dispatch@ce5485de42c9b2622d2ed064be479e8ed65e76f4
236236
with:
237237
token: ${{ secrets.ACCESS_TOKEN }}
238238
repository: Apicurio/apicurio-registry-mt-ui

0 commit comments

Comments
 (0)