Skip to content

Commit

Permalink
Update GitHub actions dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaberkaymutlu committed Jun 21, 2024
1 parent 3236079 commit 81516fa
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'

- name: Run unit tests
uses: gradle/gradle-build-action@v2.7.0
uses: gradle/gradle-build-action@v3
with:
arguments: testDebugUnitTest

- name: Publish
uses: gradle/gradle-build-action@v2.7.0
uses: gradle/gradle-build-action@v3
with:
arguments: publish
env:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'

- name: Build
run: ./gradlew assemble --stacktrace
Expand All @@ -32,19 +32,19 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'

- name: Run tests
run: ./gradlew testDebugUnitTest --stacktrace

- name: Upload Unit Test Reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: unit-test-report
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Updated Fragment testing from 1.5.5 to 1.8.0
- Updated arch. core testing from 2.1.0 to 2.2.0
- Updated Gradle Publish plugin from 1.1.0 to 2.0.0
- Updated GitHub Actions dependencies

0 comments on commit 81516fa

Please sign in to comment.