Skip to content

Commit

Permalink
Update actions to ones that support node 20 (patch by guylamar2006, see
Browse files Browse the repository at this point in the history
#136 )

git-svn-id: https://josm.openstreetmap.de/svn/trunk@18993 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
taylor.smock committed Feb 22, 2024
1 parent 3f91ca6 commit 8f3e99c
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ant-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ jobs:
name: Java ${{ matrix.java }} on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 256

- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.ivy2/cache/
~/work/josm/josm/tools/
key: ${{ runner.os }}-ivy2-${{ hashFiles('build.xml', 'ivy.xml', 'tools/ivy.xml') }}

- name: Setup Java ${{ matrix.java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
Expand All @@ -56,7 +56,7 @@ jobs:

- name: Upload Ant reports
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Ant reports for JOSM ${{ needs.createrelease.outputs.josm_revision }} on java ${{ matrix.java }} on ${{ matrix.os }}
path: |
Expand All @@ -73,13 +73,13 @@ jobs:

steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: artifacts

- name: Publish Test Report with action-junit-report
if: ${{ always() }}
uses: mikepenz/action-junit-report@v3
uses: mikepenz/action-junit-report@v4
with:
report_paths: 'artifacts/**/*.xml'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
josm_release_tag: ${{ steps.create_revision.outputs.josm_release_tag }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 256

Expand Down Expand Up @@ -74,20 +74,20 @@ jobs:
name: Java ${{ matrix.java }} on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 256

- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.ivy2/cache/
~/work/josm/josm/tools/
key: ${{ runner.os }}-ivy2-${{ hashFiles('build.xml', 'ivy.xml', 'tools/ivy.xml') }}

- name: Setup Java ${{ matrix.java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/checkstyle-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 256

- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.ivy2/cache/
Expand All @@ -31,7 +31,7 @@ jobs:
ant checkstyle
- name: Upload report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: checkstyle-josm.xml

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 256

- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.ivy2/cache/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pmd-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 256

- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.ivy2/cache/
Expand All @@ -31,7 +31,7 @@ jobs:
ant pmd
- name: Upload report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: pmd-josm.xml

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/spotbugs-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 256

- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.ivy2/cache/
Expand All @@ -31,7 +31,7 @@ jobs:
ant spotbugs
- name: Upload report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: spotbugs-josm.xml

Expand Down

0 comments on commit 8f3e99c

Please sign in to comment.