Skip to content

Commit 15a65ac

Browse files
committed
Bump action versions to v3.
Signed-off-by: Mark Paluch <[email protected]>
1 parent bf8d360 commit 15a65ac

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
@@ -21,18 +21,13 @@ jobs:
2121
- os: macos-latest
2222
mvn: ./mvnw
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
- name: Set up JDK 1.8
26-
uses: actions/setup-java@v1
26+
uses: actions/setup-java@v3
2727
with:
28-
java-version: 1.8
29-
- name: Cache local Maven repository
30-
uses: actions/cache@v2
31-
with:
32-
path: ~/.m2/repository
33-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
34-
restore-keys: |
35-
${{ runner.os }}-maven-
28+
java-version: 8
29+
distribution: temurin
30+
cache: maven
3631
- name: Build with Maven
3732
env:
3833
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}

.github/workflows/pullrequests.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,12 @@ jobs:
1818
- os: macos-latest
1919
mvn: ./mvnw
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
2222
- name: Set up JDK 1.8
23-
uses: actions/setup-java@v1
23+
uses: actions/setup-java@v3
2424
with:
25-
java-version: 1.8
26-
- name: Cache local Maven repository
27-
uses: actions/cache@v2
28-
with:
29-
path: ~/.m2/repository
30-
key: ${{ runner.os }}-maven-pr-${{ hashFiles('**/pom.xml') }}
31-
restore-keys: |
32-
${{ runner.os }}-maven-pr-
25+
java-version: 8
26+
distribution: temurin
27+
cache: maven
3328
- name: Build with Maven
3429
run: ${{ matrix.mvn }} -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 == 'r2dbc/r2dbc-mssql'
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)