Skip to content

Commit 237a3bc

Browse files
committed
Bump GitHub workflows actions
1 parent 4b0aaaa commit 237a3bc

4 files changed

Lines changed: 25 additions & 25 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
node-version: [18.x, 20.x]
18+
node-version: [18.x, 24.x]
1919
java-version: [11]
2020

2121
steps:
@@ -55,7 +55,7 @@ jobs:
5555
uses: SonarSource/sonarqube-scan-action@master
5656
if: |
5757
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
58-
matrix.node-version == '20.x' &&
58+
matrix.node-version == '24.x' &&
5959
github.actor != 'dependabot[bot]'
6060
env:
6161
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -67,15 +67,15 @@ jobs:
6767

6868
steps:
6969
- name: Checkout
70-
uses: actions/checkout@v4
70+
uses: actions/checkout@v6
7171

72-
- name: Use Node.js 20.x
73-
uses: actions/setup-node@v4
72+
- name: Use Node.js 24.x
73+
uses: actions/setup-node@v6
7474
with:
75-
node-version: 20.x
75+
node-version: 24.x
7676

7777
- name: Use JDK 11
78-
uses: actions/setup-java@v4
78+
uses: actions/setup-java@v5
7979
with:
8080
distribution: temurin
8181
java-version: 11

.github/workflows/publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
packages: write
1010

1111
env:
12-
NODE_VERSION: 20.x
12+
NODE_VERSION: 24.x
1313

1414
jobs:
1515
publish-npm:
@@ -18,12 +18,12 @@ jobs:
1818
id-token: write
1919
steps:
2020
- name: Checkout tag "${{ github.ref_name }}"
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222
with:
2323
ref: ${{ github.ref_name }}
2424

2525
- name: Use Node.js ${{ env.NODE_VERSION }}
26-
uses: actions/setup-node@v4
26+
uses: actions/setup-node@v6
2727
with:
2828
node-version: ${{ env.NODE_VERSION }}
2929
registry-url: "https://registry.npmjs.org"
@@ -45,12 +45,12 @@ jobs:
4545
runs-on: ubuntu-latest
4646
steps:
4747
- name: Checkout tag "${{ github.ref_name }}"
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@v6
4949
with:
5050
ref: ${{ github.ref_name }}
5151

5252
- name: Use Node.js ${{ env.NODE_VERSION }}
53-
uses: actions/setup-node@v4
53+
uses: actions/setup-node@v6
5454
with:
5555
node-version: ${{ env.NODE_VERSION }}
5656

@@ -66,7 +66,7 @@ jobs:
6666
working-directory: eslint-plugin
6767

6868
- name: Configure GitHub Packages registry
69-
uses: bduff9/use-npmrc@v2.0.0
69+
uses: bduff9/use-npmrc@dbe8c5121963fc22c8825da5cfb3b58aa18e3d1b # v2.0.0
7070
with:
7171
working-directory: eslint-plugin
7272
dot-npmrc: |

.github/workflows/release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616
contents: write
1717

1818
env:
19-
NODE_VERSION: 20.x
19+
NODE_VERSION: 24.x
2020
JDK_VERSION: 11
2121

2222
jobs:
@@ -26,18 +26,18 @@ jobs:
2626
if: contains('["dedece35","glalloue","jhertout","jules-delecour-dav","olegoaer","zippy1978","utarwyn","mdubois81"]', github.actor)
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v6
3030
with:
3131
fetch-depth: 0
3232
token: ${{ secrets.RELEASE_TOKEN }}
3333

3434
- name: Use Node.js ${{ env.NODE_VERSION }}
35-
uses: actions/setup-node@v4
35+
uses: actions/setup-node@v6
3636
with:
3737
node-version: ${{ env.NODE_VERSION }}
3838

3939
- name: Use JDK ${{ env.JDK_VERSION }}
40-
uses: actions/setup-java@v4
40+
uses: actions/setup-java@v5
4141
with:
4242
distribution: temurin
4343
java-version: ${{ env.JDK_VERSION }}
@@ -62,12 +62,12 @@ jobs:
6262

6363
- name: Extract release notes
6464
id: extract-release-notes
65-
uses: ffurrer2/extract-release-notes@v1
65+
uses: ffurrer2/extract-release-notes@202313ec7461b6b9e401996714484690ab1ae105 # v3.0.0
6666
with:
6767
prerelease: true
6868

6969
- name: Update changelog
70-
uses: suyaser/keep-a-changelog-new-release@1.4.0
70+
uses: thomaseizinger/keep-a-changelog-new-release@f62c3c390716df5af712ba5d94f4f4a8efc1306d # v3.1.0
7171
with:
7272
version: ${{ steps.package-version.outputs.version }}
7373
tag: ${{ steps.package-version.outputs.version }}
@@ -85,13 +85,13 @@ jobs:
8585
working-directory: sonar-plugin
8686

8787
- name: Commit new version
88-
uses: EndBug/add-and-commit@v9
88+
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
8989
with:
9090
message: Release version ${{ steps.package-version.outputs.version }}
9191
default_author: github_actions
9292

9393
- name: Create release
94-
uses: softprops/action-gh-release@v1
94+
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
9595
with:
9696
name: Release ${{ steps.package-version.outputs.version }}
9797
tag_name: ${{ steps.package-version.outputs.version }}
@@ -105,13 +105,13 @@ jobs:
105105
needs: release
106106
steps:
107107
- name: Checkout
108-
uses: actions/checkout@v4
108+
uses: actions/checkout@v6
109109
with:
110110
ref: ${{ github.ref }}
111111
token: ${{ secrets.RELEASE_TOKEN }}
112112

113113
- name: Use JDK ${{ env.JDK_VERSION }}
114-
uses: actions/setup-java@v4
114+
uses: actions/setup-java@v6
115115
with:
116116
distribution: temurin
117117
java-version: ${{ env.JDK_VERSION }}
@@ -129,7 +129,7 @@ jobs:
129129
run: sed -i -E 's/plugin-(.*).jar/plugin-${{ steps.sonar-plugin-version.outputs.version }}.jar/' docker-compose.yml
130130

131131
- name: Commit new version
132-
uses: EndBug/add-and-commit@v9
132+
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
133133
with:
134134
message: Prepare for next development iteration
135135
default_author: github_actions

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ services:
3131
retries: 5
3232

3333
db:
34-
image: postgres:18-alpine
34+
image: postgres:17-alpine
3535
container_name: postgresql_creedengo_javascript
3636
networks:
3737
- sonarnet

0 commit comments

Comments
 (0)