Skip to content

Commit f7992b8

Browse files
authored
Merge pull request #48 from picoded/fix-gh-actions
fix broken github workflows due to deprecated modules
2 parents 7110e99 + 347e984 commit f7992b8

16 files changed

Lines changed: 42 additions & 42 deletions
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Cockroach DB v21 Support Test
1+
name: Cockroach DB v22 Support Test
22
on:
33
push:
44
branches: [ master, eugene/* ]
@@ -12,7 +12,7 @@ jobs:
1212
# so we are gonna to run the docker containers via the bash commandline
1313
# services:
1414
# postgres:
15-
# image: cockroachdb/cockroach:v21.1.12
15+
# image: cockroachdb/cockroach:v22.2.19
1616
# env:
1717
# POSTGRES_DATABASE: javacommons
1818
# POSTGRES_USER: javacommons
@@ -30,15 +30,15 @@ jobs:
3030
with:
3131
java-version: 1.8
3232
- name: Cache Gradle packages
33-
uses: actions/cache@v2
33+
uses: actions/cache@v3
3434
with:
3535
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/build.gradle') }}
3636
path: |
3737
~/.gradle/caches
3838
~/.gradle/wrapper
3939
- name: Setup cockroachDB
4040
run: |
41-
sudo docker run -d --name=roach1 --hostname=roach1 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:v21.2.0 start-single-node --insecure && \
41+
sudo docker run -d --name=roach1 --hostname=roach1 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:v22.2.19 start-single-node --insecure && \
4242
sleep 5s
4343
- name: Setup initial cockroach DB
4444
run: |
@@ -59,7 +59,7 @@ jobs:
5959
- name: Run jacocoTestReport
6060
run: ./gradlew jacocoTestReport
6161
- name: Archive code coverage results
62-
uses: actions/upload-artifact@v2
62+
uses: actions/upload-artifact@v4
6363
if: always()
6464
with:
6565
name: test-result-report

.github/workflows/gradle-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
java-version: 1.8
1818
- name: Cache Gradle packages
19-
uses: actions/cache@v2
19+
uses: actions/cache@v3
2020
with:
2121
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/build.gradle') }}
2222
path: |
@@ -33,7 +33,7 @@ jobs:
3333
- name: Run the build
3434
run: ./gradlew build
3535
- name: Archive code coverage results
36-
uses: actions/upload-artifact@v2
36+
uses: actions/upload-artifact@v4
3737
if: always()
3838
with:
3939
name: test-result-report
@@ -50,7 +50,7 @@ jobs:
5050
verbose: true # optional (default = false)
5151
fail_ci_if_error: false
5252
- name: Archive binary files
53-
uses: actions/upload-artifact@v2
53+
uses: actions/upload-artifact@v4
5454
with:
5555
name: binary-libs
5656
path: |

.github/workflows/hazelcast.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
java-version: 1.8
3232
- name: Cache Gradle packages
33-
uses: actions/cache@v2
33+
uses: actions/cache@v3
3434
with:
3535
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/build.gradle') }}
3636
path: |
@@ -45,7 +45,7 @@ jobs:
4545
- name: Run jacocoTestReport
4646
run: ./gradlew jacocoTestReport
4747
- name: Archive code coverage results
48-
uses: actions/upload-artifact@v2
48+
uses: actions/upload-artifact@v4
4949
if: always()
5050
with:
5151
name: test-result-report

.github/workflows/local-sqlite.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
java-version: 1.8
3232
- name: Cache Gradle packages
33-
uses: actions/cache@v2
33+
uses: actions/cache@v3
3434
with:
3535
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/build.gradle') }}
3636
path: |
@@ -45,7 +45,7 @@ jobs:
4545
- name: Run jacocoTestReport
4646
run: ./gradlew jacocoTestReport
4747
- name: Archive code coverage results
48-
uses: actions/upload-artifact@v2
48+
uses: actions/upload-artifact@v4
4949
if: always()
5050
with:
5151
name: test-result-report

.github/workflows/mongodb.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
java-version: 1.8
3333
- name: Cache Gradle packages
34-
uses: actions/cache@v2
34+
uses: actions/cache@v3
3535
with:
3636
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/build.gradle') }}
3737
path: |
@@ -46,7 +46,7 @@ jobs:
4646
- name: Run jacocoTestReport
4747
run: ./gradlew jacocoTestReport
4848
- name: Archive code coverage results
49-
uses: actions/upload-artifact@v2
49+
uses: actions/upload-artifact@v4
5050
if: always()
5151
with:
5252
name: test-result-report

.github/workflows/mysql-5-7.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
java-version: 1.8
3131
- name: Cache Gradle packages
32-
uses: actions/cache@v2
32+
uses: actions/cache@v3
3333
with:
3434
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/build.gradle') }}
3535
path: |
@@ -44,7 +44,7 @@ jobs:
4444
- name: Run jacocoTestReport
4545
run: ./gradlew jacocoTestReport
4646
- name: Archive code coverage results
47-
uses: actions/upload-artifact@v2
47+
uses: actions/upload-artifact@v4
4848
if: always()
4949
with:
5050
name: test-result-report

.github/workflows/mysql-8.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
java-version: 1.8
3131
- name: Cache Gradle packages
32-
uses: actions/cache@v2
32+
uses: actions/cache@v3
3333
with:
3434
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/build.gradle') }}
3535
path: |
@@ -44,7 +44,7 @@ jobs:
4444
- name: Run jacocoTestReport
4545
run: ./gradlew jacocoTestReport
4646
- name: Archive code coverage results
47-
uses: actions/upload-artifact@v2
47+
uses: actions/upload-artifact@v4
4848
if: always()
4949
with:
5050
name: test-result-report
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: (perf) Cockroach DB v21 Support Test
1+
name: (perf) Cockroach DB v22 Support Test
22
on:
33
# -------------------------------------------------------------------------------------------------------------------------------
44
# Disabling perf test to ensure build time is < 4m
@@ -26,7 +26,7 @@ jobs:
2626
# so we are gonna to run the docker containers via the bash commandline
2727
# services:
2828
# postgres:
29-
# image: cockroachdb/cockroach:v21.1.12
29+
# image: cockroachdb/cockroach:v22.2.19
3030
# env:
3131
# POSTGRES_DATABASE: javacommons
3232
# POSTGRES_USER: javacommons
@@ -44,15 +44,15 @@ jobs:
4444
with:
4545
java-version: 1.8
4646
- name: Cache Gradle packages
47-
uses: actions/cache@v2
47+
uses: actions/cache@v3
4848
with:
4949
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/build.gradle') }}
5050
path: |
5151
~/.gradle/caches
5252
~/.gradle/wrapper
5353
- name: Setup cockroachDB
5454
run: |
55-
sudo docker run -d --name=roach1 --hostname=roach1 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:v21.2.0 start-single-node --insecure && \
55+
sudo docker run -d --name=roach1 --hostname=roach1 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:v22.2.19 start-single-node --insecure && \
5656
sleep 5s
5757
- name: Setup initial cockroach DB
5858
run: |
@@ -75,7 +75,7 @@ jobs:
7575
- name: Run jacocoTestReport
7676
run: ./gradlew jacocoTestReport
7777
- name: Archive code coverage results
78-
uses: actions/upload-artifact@v2
78+
uses: actions/upload-artifact@v4
7979
if: always()
8080
with:
8181
name: test-result-report

.github/workflows/perf_json_cockraochdb-21.yml renamed to .github/workflows/perf_json_cockroachdb-22.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: (perf) JSON Cockroach DB v21 Support Test
1+
name: (perf) JSON Cockroach DB v22 Support Test
22
on:
33
# -------------------------------------------------------------------------------------------------------------------------------
44
# Disabling perf test to ensure build time is < 4m
@@ -21,7 +21,7 @@ jobs:
2121
# so we are gonna to run the docker containers via the bash commandline
2222
# services:
2323
# postgres:
24-
# image: cockroachdb/cockroach:v21.1.12
24+
# image: cockroachdb/cockroach:v22.2.19
2525
# env:
2626
# POSTGRES_DATABASE: javacommons
2727
# POSTGRES_USER: javacommons
@@ -39,15 +39,15 @@ jobs:
3939
with:
4040
java-version: 1.8
4141
- name: Cache Gradle packages
42-
uses: actions/cache@v2
42+
uses: actions/cache@v3
4343
with:
4444
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/build.gradle') }}
4545
path: |
4646
~/.gradle/caches
4747
~/.gradle/wrapper
4848
- name: Setup cockroachDB
4949
run: |
50-
sudo docker run -d --name=roach1 --hostname=roach1 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:v21.2.0 start-single-node --insecure && \
50+
sudo docker run -d --name=roach1 --hostname=roach1 -p 26257:26257 -p 8080:8080 cockroachdb/cockroach:v22.2.19 start-single-node --insecure && \
5151
sleep 5s
5252
- name: Setup initial cockroach DB
5353
run: |
@@ -70,7 +70,7 @@ jobs:
7070
- name: Run jacocoTestReport
7171
run: ./gradlew jacocoTestReport
7272
- name: Archive code coverage results
73-
uses: actions/upload-artifact@v2
73+
uses: actions/upload-artifact@v4
7474
if: always()
7575
with:
7676
name: test-result-report

.github/workflows/perf_json_postgres-14-1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
java-version: 1.8
3232
- name: Cache Gradle packages
33-
uses: actions/cache@v2
33+
uses: actions/cache@v3
3434
with:
3535
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/build.gradle') }}
3636
path: |
@@ -63,7 +63,7 @@ jobs:
6363
- name: Run jacocoTestReport
6464
run: ./gradlew jacocoTestReport
6565
- name: Archive code coverage results
66-
uses: actions/upload-artifact@v2
66+
uses: actions/upload-artifact@v4
6767
if: always()
6868
with:
6969
name: test-result-report

0 commit comments

Comments
 (0)