|
@@ -14,9 +14,9 @@ jobs:
|
|
test:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
steps:
|
|
- - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
|
|
|
|
|
|
+ - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
|
- name: Set up JDK 11
|
|
- name: Set up JDK 11
|
|
- uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3
|
|
|
|
|
|
+ uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2 # v3.11.0
|
|
with:
|
|
with:
|
|
distribution: "temurin"
|
|
distribution: "temurin"
|
|
java-version: 11
|
|
java-version: 11
|
|
@@ -26,7 +26,7 @@ jobs:
|
|
if: ${{ always() }}
|
|
if: ${{ always() }}
|
|
run: scripts/deleteOldComments.sh "test" "Unit" ${{github.event.number}}
|
|
run: scripts/deleteOldComments.sh "test" "Unit" ${{github.event.number}}
|
|
- name: Run unit tests with coverage
|
|
- name: Run unit tests with coverage
|
|
- uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2
|
|
|
|
|
|
+ uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 # v2.4.2
|
|
with:
|
|
with:
|
|
arguments: jacocoTestGplayDebugUnitTest
|
|
arguments: jacocoTestGplayDebugUnitTest
|
|
- name: Upload failing results
|
|
- name: Upload failing results
|
|
@@ -35,7 +35,7 @@ jobs:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "test" "Unit" ${{github.event.number}}
|
|
run: scripts/uploadReport.sh "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" ${{github.event.number}} "test" "Unit" ${{github.event.number}}
|
|
- name: Upload coverage to codecov
|
|
- name: Upload coverage to codecov
|
|
- uses: codecov/codecov-action@40a12dcee2df644d47232dde008099a3e9e4f865 # v3
|
|
|
|
|
|
+ uses: codecov/codecov-action@894ff025c7b54547a9a2a1e9f228beae737ad3c2 # v3.1.3
|
|
with:
|
|
with:
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
flags: unit
|
|
flags: unit
|