Skip to content

Commit 870c224

Browse files
committed
Bump GitHub actions versions.
Signed-off-by: Mark Paluch <[email protected]>
1 parent ac64d9a commit 870c224

File tree

3 files changed

+14
-23
lines changed

3 files changed

+14
-23
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,13 @@ jobs:
1212
if: github.repository == 'pgjdbc/r2dbc-postgresql'
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616
- name: Set up JDK 1.8
17-
uses: actions/setup-java@v1
17+
uses: actions/setup-java@v3
1818
with:
19-
java-version: 1.8
20-
- name: Cache local Maven repository
21-
uses: actions/cache@v2
22-
with:
23-
path: ~/.m2/repository
24-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
25-
restore-keys: |
26-
${{ runner.os }}-maven-
19+
java-version: 8
20+
distribution: temurin
21+
cache: maven
2722
- name: Build with Maven
2823
env:
2924
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}

.github/workflows/pullrequests.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,12 @@ jobs:
99
pr-build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
- name: Set up JDK 1.8
14-
uses: actions/setup-java@v1
14+
uses: actions/setup-java@v3
1515
with:
16-
java-version: 1.8
17-
- name: Cache local Maven repository
18-
uses: actions/cache@v2
19-
with:
20-
path: ~/.m2/repository
21-
key: ${{ runner.os }}-maven-pr-${{ hashFiles('**/pom.xml') }}
22-
restore-keys: |
23-
${{ runner.os }}-maven-pr-
16+
java-version: 8
17+
distribution: temurin
18+
cache: maven
2419
- name: Build with Maven
2520
run: ./mvnw -B verify -D skipITs

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ jobs:
1212
if: github.repository == 'pgjdbc/r2dbc-postgresql'
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616
- name: Set up JDK 1.8
17-
uses: actions/setup-java@v1
17+
uses: actions/setup-java@v3
1818
with:
19-
java-version: 1.8
19+
java-version: 8
20+
distribution: temurin
2021
- name: Initialize Maven Version
2122
run: ./mvnw -q org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version
2223
- name: GPG Check

0 commit comments

Comments
 (0)