Skip to content

Commit f3c29d3

Browse files
authored
Bump GH Actions versions (Go; node12 deprecation) (#26)
Bump three GitHub Actions versions to move away from the deprecated node.js 12 bases and so reduce warning noise in Actions output: actions/setup-java v2 -> v3 actions/setup-go v2 -> v3 actions/checkout v2 -> v3 Bump Golang version 1.19.1 to 1.19.9; also, quote the string for defensiveness against version number parsing and YAML string vs version numbers. While we're unlikely to switch to patch-level-unspecified in future, protect against mistakes by quoting, as we're doing for all repos.
1 parent 23b6fde commit f3c29d3

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/build-main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
1919
steps:
2020
- name: Setup JDK 8
21-
uses: actions/setup-java@v2
21+
uses: actions/setup-java@v3
2222
with:
2323
java-version: '8'
2424
distribution: 'adopt'
2525
- name: Setup GO
26-
uses: actions/setup-go@v2
26+
uses: actions/setup-go@v3
2727
with:
28-
go-version: 1.19.1
28+
go-version: '1.19.9'
2929
- name: Install Nats Server
3030
run: |
3131
cd $GITHUB_WORKSPACE
@@ -39,7 +39,7 @@ jobs:
3939
rm -rf nats-server
4040
nats-server -v
4141
- name: Check out code
42-
uses: actions/checkout@v2
42+
uses: actions/checkout@v3
4343
- name: Build and Test
4444
run: chmod +x gradlew && ./gradlew clean test jacocoTestReport coveralls
4545
- name: Verify Javadoc

.github/workflows/build-pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
1313
steps:
1414
- name: Setup JDK 8
15-
uses: actions/setup-java@v2
15+
uses: actions/setup-java@v3
1616
with:
1717
java-version: '8'
1818
distribution: 'adopt'
1919
- name: Setup GO
20-
uses: actions/setup-go@v2
20+
uses: actions/setup-go@v3
2121
with:
22-
go-version: 1.19.1
22+
go-version: '1.19.9'
2323
- name: Install Nats Server
2424
run: |
2525
cd $GITHUB_WORKSPACE
@@ -33,7 +33,7 @@ jobs:
3333
rm -rf nats-server
3434
nats-server -v
3535
- name: Check out code
36-
uses: actions/checkout@v2
36+
uses: actions/checkout@v3
3737
- name: Build and Test
3838
run: chmod +x gradlew && ./gradlew clean test jacocoTestReport coveralls
3939
- name: Verify Javadoc

.github/workflows/build-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
1919
steps:
2020
- name: Setup JDK 8
21-
uses: actions/setup-java@v2
21+
uses: actions/setup-java@v3
2222
with:
2323
java-version: '8'
2424
distribution: 'adopt'
2525
- name: Setup GO
26-
uses: actions/setup-go@v2
26+
uses: actions/setup-go@v3
2727
with:
28-
go-version: 1.19.1
28+
go-version: '1.19.9'
2929
- name: Install Nats Server
3030
run: |
3131
cd $GITHUB_WORKSPACE
@@ -39,7 +39,7 @@ jobs:
3939
rm -rf nats-server
4040
nats-server -v
4141
- name: Check out code
42-
uses: actions/checkout@v2
42+
uses: actions/checkout@v3
4343
- name: Build and Test
4444
run: chmod +x gradlew && ./gradlew clean test
4545
- name: Verify Javadoc

0 commit comments

Comments
 (0)