Skip to content

Commit bfe9cee

Browse files
update github actions to latest versions
1 parent b68a57d commit bfe9cee

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/android_ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@ jobs:
55
if: "!contains(github.event.head_commit.message, 'skip ci')"
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v1
8+
- uses: actions/checkout@v3
99
- name: set up JDK 17
10-
uses: actions/setup-java@v1
10+
uses: actions/setup-java@v3
1111
with:
12-
java-version: 17
12+
distribution: 'zulu'
13+
java-version: '17'
1314
- name: lint
1415
run: bash ./gradlew lintDebug --stacktrace
1516
- name: unit tests
1617
run: bash ./gradlew testDebugUnitTest --stacktrace
1718
- name: coverage
1819
run: bash ./gradlew jacocoTestCoverageVerification --stacktrace
1920
- name: Upload coverage to Codecov
20-
uses: codecov/codecov-action@v2
21+
uses: codecov/codecov-action@v3
2122
with:
2223
token: ${{ secrets.CODECOV_TOKEN }}
2324
file: ./app/build/reports/jacoco/jacocoTestReport/jacocoTestReport.xml

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939

4040
steps:
4141
- name: Checkout repository
42-
uses: actions/checkout@v2
42+
uses: actions/checkout@v3
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v1
46+
uses: github/codeql-action/init@v2
4747
with:
4848
languages: ${{ matrix.language }}
4949
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -54,7 +54,7 @@ jobs:
5454
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5555
# If this step fails, then you should remove it and run the build manually (see below)
5656
- name: Autobuild
57-
uses: github/codeql-action/autobuild@v1
57+
uses: github/codeql-action/autobuild@v2
5858

5959
# ℹ️ Command-line programs to run using the OS shell.
6060
# 📚 https://git.io/JvXDl
@@ -68,4 +68,4 @@ jobs:
6868
# make release
6969

7070
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v1
71+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)