Skip to content

Commit c6116bd

Browse files
Merge pull request #311 from data-integrations/CDAP-19833
[CDAP-19833] update github actions due to node12 deprecation
2 parents f761750 + 77b6519 commit c6116bd

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
# Pinned 1.0.0 version
3232
- uses: haya14busa/action-workflow_run-status@967ed83efa565c257675ed70cfe5231f062ddd94
3333

34-
- uses: actions/checkout@v2.3.4
34+
- uses: actions/checkout@v3
3535
with:
3636
ref: ${{ github.event.workflow_run.head_sha }}
3737

3838
- name: Cache
39-
uses: actions/cache@v2.1.3
39+
uses: actions/cache@v3
4040
with:
4141
path: ~/.m2/repository
4242
key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }}
@@ -47,7 +47,7 @@ jobs:
4747
run: mvn clean test -fae -T 2 -B -V -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=25
4848

4949
- name: Archive build artifacts
50-
uses: actions/upload-artifact@v2.2.2
50+
uses: actions/upload-artifact@v3
5151
if: always()
5252
with:
5353
name: Build debug files
@@ -56,10 +56,12 @@ jobs:
5656
**/target/surefire-reports/*
5757
5858
- name: Surefire Report
59-
# Pinned 1.0.5 version
60-
uses: ScaCap/action-surefire-report@ad808943e6bfbd2e6acba7c53fdb5c89534da533
59+
# Pinned 3.5.2 version
60+
uses: mikepenz/action-junit-report@16a9560bd02f11e7e3bf6b3e2ef6bba6c9d07c32
6161
if: always()
6262
with:
63-
# GITHUB_TOKEN
63+
report_paths: '**/target/surefire-reports/TEST-*.xml'
6464
github_token: ${{ secrets.GITHUB_TOKEN }}
65-
commit: ${{ github.event.workflow_run.head_sha }}
65+
detailed_summary: true
66+
commit: ${{ github.event.workflow_run.head_sha }}
67+
check_name: Test Report

.github/workflows/e2e.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
fail-fast: false
4545
steps:
4646
# Pinned 1.0.0 version
47-
- uses: actions/checkout@v2.3.4
47+
- uses: actions/checkout@v3
4848
with:
4949
path: plugin
5050
submodules: 'recursive'
@@ -60,13 +60,13 @@ jobs:
6060
- '${{ matrix.module }}/**/e2e-test/**'
6161
6262
- name: Checkout e2e test repo
63-
uses: actions/checkout@v2.3.4
63+
uses: actions/checkout@v3
6464
with:
6565
repository: cdapio/cdap-e2e-tests
6666
path: e2e
6767

6868
- name: Cache
69-
uses: actions/cache@v2.1.3
69+
uses: actions/cache@v3
7070
with:
7171
path: ~/.m2/repository
7272
key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }}
@@ -82,14 +82,14 @@ jobs:
8282
run: python3 e2e/src/main/scripts/run_e2e_test.py --module ${{ matrix.module }}
8383

8484
- name: Upload report
85-
uses: actions/upload-artifact@v2.2.4
85+
uses: actions/upload-artifact@v3
8686
if: always()
8787
with:
8888
name: Cucumber report - ${{ matrix.module }}
8989
path: ./**/target/cucumber-reports
9090

9191
- name: Upload debug files
92-
uses: actions/upload-artifact@v2.2.4
92+
uses: actions/upload-artifact@v3
9393
if: always()
9494
with:
9595
name: Debug files - ${{ matrix.module }}

0 commit comments

Comments
 (0)