Skip to content

Commit 13cb6f3

Browse files
committed
ci: updated actions
1 parent a12642a commit 13cb6f3

3 files changed

Lines changed: 30 additions & 30 deletions

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
os: [ macos-latest, windows-latest, ubuntu-latest ]
1111
runs-on: ${{ matrix.os }}
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v6
1414
with:
1515
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
1616
- name: Set up JDK 21
17-
uses: actions/setup-java@v3
17+
uses: actions/setup-java@v5
1818
with:
1919
java-version: 21
2020
distribution: adopt
@@ -23,7 +23,7 @@ jobs:
2323
run: ./gradlew --no-daemon build
2424

2525
- name: Save build cache
26-
uses: actions/cache/save@v3
26+
uses: actions/cache/save@v5
2727
with:
2828
path: ./build
2929
key: ${{ github.sha }}-${{ github.workflow_id }}-${{ runner.os }}
@@ -38,22 +38,22 @@ jobs:
3838
runs-on: ${{ matrix.os }}
3939
steps:
4040
- name: Checkout
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v6
4242
- name: Set up JDK 21
43-
uses: actions/setup-java@v3
43+
uses: actions/setup-java@v5
4444
with:
4545
java-version: 21
4646
distribution: adopt
4747
cache: gradle
4848
- name: Restore build cache
49-
uses: actions/cache/restore@v3
49+
uses: actions/cache/restore@v5
5050
with:
5151
path: ./build
5252
key: ${{ github.sha }}-${{ github.workflow_id }}-${{ runner.os }}
5353
- name: Gradle check
5454
run: ./gradlew --no-daemon check
5555
- name: Save tests cache
56-
uses: actions/cache/save@v3
56+
uses: actions/cache/save@v5
5757
with:
5858
path: ./build
5959
key: ${{ github.sha }}-${{ github.workflow_id }}-${{ runner.os }}
@@ -64,23 +64,23 @@ jobs:
6464
runs-on: ubuntu-latest
6565
steps:
6666
- name: Checkout
67-
uses: actions/checkout@v3
67+
uses: actions/checkout@v6
6868
with:
6969
fetch-depth: 0 # Shallow clones
7070
- name: Set up JDK 21
71-
uses: actions/setup-java@v3
71+
uses: actions/setup-java@v5
7272
with:
7373
java-version: 21
7474
distribution: adopt
7575
cache: gradle
7676
- name: Restore tests cache
77-
uses: actions/cache/restore@v3
77+
uses: actions/cache/restore@v5
7878
with:
7979
path: ./build
8080
key: ${{ github.sha }}-${{ github.workflow_id }}-${{ runner.os }}
8181

8282
- name: Cache SonarCloud packages
83-
uses: actions/cache@v3
83+
uses: actions/cache@v5
8484
with:
8585
path: ./.sonar/cache
8686
key: ${{ runner.os }}-sonar
@@ -92,7 +92,7 @@ jobs:
9292
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
9393
run: ./gradlew --no-daemon analyze
9494
- name: Codecov update
95-
uses: codecov/codecov-action@v3
95+
uses: codecov/codecov-action@v5
9696
with:
9797
token: "d76dfcb2-9baa-40e4-b07a-4b2647bcf3c4" # should be moved to ${{ secrets.CODECOV_TOKEN }}
9898
files: "./build/reports/jacoco/testCodeCoverageReport/testCodeCoverageReport.xml"

.github/workflows/docs.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Pull code
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v6
2727
with:
2828
persist-credentials: false
2929
- name: Set up JDK
30-
uses: actions/setup-java@v3
30+
uses: actions/setup-java@v5
3131
with:
3232
java-version: 21
3333
distribution: adopt
3434
cache: gradle
3535
- name: Build documentation
3636
run: ./gradlew --no-daemon docs # --no-configuration-cache
3737
- name: Save built docs
38-
uses: actions/cache/save@v3
38+
uses: actions/cache/save@v5
3939
with:
4040
path: docs
4141
key: ${{ github.sha }}-${{ github.workflow }}
@@ -50,19 +50,19 @@ jobs:
5050
runs-on: ubuntu-latest
5151
steps:
5252
- name: Checkout
53-
uses: actions/checkout@v3
53+
uses: actions/checkout@v6
5454
- name: Restore built docs
55-
uses: actions/cache/restore@v3
55+
uses: actions/cache/restore@v5
5656
with:
5757
path: docs
5858
key: ${{ github.sha }}-${{ github.workflow }}
5959
- name: Setup Pages
60-
uses: actions/configure-pages@v3
60+
uses: actions/configure-pages@v5
6161
- name: Upload artifact
62-
uses: actions/upload-pages-artifact@v1
62+
uses: actions/upload-pages-artifact@v4
6363
with:
6464
# Upload entire repository
6565
path: 'docs'
6666
- name: Deploy to GitHub Pages
6767
id: deployment
68-
uses: actions/deploy-pages@v2
68+
uses: actions/deploy-pages@v4

.github/workflows/publish.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ jobs:
1414
newRelease: ${{ steps.nyx-infer.outputs.newVersion }}
1515
newVersion: ${{ steps.nyx-infer.outputs.newRelease }}
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v6
1818
with:
1919
fetch-depth: 0
2020
- name: Run nyx Infer
2121
id: nyx-infer
22-
uses: mooltiverse/nyx-github-action@main
22+
uses: mooltiverse/nyx
2323
with:
2424
command: 'infer'
2525
configurationFile: 'build-logic/releases/.nyx.json'
2626
resume: 'true'
2727
- name: Run nyx Make
28-
uses: mooltiverse/nyx-github-action@main
28+
uses: mooltiverse/nyx
2929
with:
3030
command: 'make'
3131
configurationFile: 'build-logic/releases/.nyx.json'
@@ -37,11 +37,11 @@ jobs:
3737
runs-on: ubuntu-latest
3838
needs: infer-version
3939
steps:
40-
- uses: actions/checkout@v3
40+
- uses: actions/checkout@v6
4141
with:
4242
fetch-depth: 0
4343
- name: Set up JDK 21
44-
uses: actions/setup-java@v3
44+
uses: actions/setup-java@v5
4545
with:
4646
java-version: 21
4747
distribution: adopt
@@ -55,7 +55,7 @@ jobs:
5555
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
5656
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
5757
- name: Nyx publish
58-
uses: mooltiverse/nyx-github-action@main
58+
uses: mooltiverse/nyx@main
5959
env:
6060
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6161
NYX_RELEASE_TYPES_PUBLICATION_SERVICES: 'GITHUB'
@@ -78,10 +78,10 @@ jobs:
7878
contents: read
7979
packages: write
8080
steps:
81-
- uses: actions/checkout@v3
81+
- uses: actions/checkout@v6
8282

8383
- name: Set up JDK 21
84-
uses: actions/setup-java@v2
84+
uses: actions/setup-java@v5
8585
with:
8686
java-version: 21
8787
distribution: adopt
@@ -97,7 +97,7 @@ jobs:
9797
- name: Build releasable python package
9898
run: ./gradlew --no-daemon :python:distribute
9999

100-
- uses: actions/setup-python@v4
100+
- uses: actions/setup-python@v6
101101
with:
102102
python-version: '3.8'
103103
- run: pipx install poetry
@@ -116,7 +116,7 @@ jobs:
116116
runs-on: ubuntu-latest
117117
needs: [ publish-jvm, infer-version ]
118118
steps:
119-
- uses: actions/checkout@v3
119+
- uses: actions/checkout@v6
120120
- name: Find and Replace
121121
uses: jacobtomlinson/gha-find-replace@v3
122122
with:

0 commit comments

Comments
 (0)