Skip to content

Commit

Permalink
Bump versions of GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ejona86 committed Nov 12, 2024
1 parent 12ad318 commit f1d0ce3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3

32 changes: 16 additions & 16 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
- uses: gradle/gradle-build-action@v2
with:
arguments: clean assemble --stacktrace
- uses: gradle/actions/setup-gradle@v3
- name: Gradle Assemble
run: ./gradlew clean assemble --stacktrace

test:
needs: build
strategy:
Expand All @@ -32,28 +32,28 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
- uses: gradle/gradle-build-action@v2
with:
arguments: test --tests ${{ matrix.tests }} --stacktrace
- uses: gradle/actions/setup-gradle@v3
- name: Gradle Test
run: ./gradlew test --tests ${{ matrix.tests }} --stacktrace

codenarc:
needs: build
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
- uses: gradle/gradle-build-action@v2
with:
arguments: codenarcMain codenarcTest --continue
- uses: gradle/actions/setup-gradle@v3
- name: Gradle Codenarc
run: ./gradlew codenarcMain codenarcTest --continue
- name: echo codenarcMain reports
if: failure()
run: test -f build/reports/codenarc/main.txt && cat build/reports/codenarc/main.txt
Expand Down

0 comments on commit f1d0ce3

Please sign in to comment.