Skip to content

Commit 1099031

Browse files
committed
build: Update GH actions
1 parent 07e44e8 commit 1099031

File tree

4 files changed

+25
-16
lines changed

4 files changed

+25
-16
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v5
1414
with:
1515
fetch-depth: 0
1616

1717
- name: Set up Go
18-
uses: actions/setup-go@v5
18+
uses: actions/setup-go@v6
19+
with:
20+
go-version: '1.25.3'
1921

2022
- name: Get Dependencies
2123
shell: bash
@@ -41,7 +43,7 @@ jobs:
4143

4244
- name: JReleaser assemble output
4345
if: always()
44-
uses: actions/upload-artifact@v4
46+
uses: actions/upload-artifact@v5
4547
with:
4648
retention-days: 1
4749
name: jreleaser-build

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
steps:
3232
- name: Checkout repository
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v5
3434
with:
3535
# We must fetch at least the immediate parents so that if this is
3636
# a pull request then we can checkout the head.
@@ -43,7 +43,7 @@ jobs:
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v1
46+
uses: github/codeql-action/init@v4
4747
with:
4848
languages: ${{ matrix.language }}
4949
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -54,7 +54,7 @@ jobs:
5454
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5555
# If this step fails, then you should remove it and run the build manually (see below)
5656
- name: Autobuild
57-
uses: github/codeql-action/autobuild@v1
57+
uses: github/codeql-action/autobuild@v4
5858

5959
# ℹ️ Command-line programs to run using the OS shell.
6060
# 📚 https://git.io/JvXDl
@@ -68,4 +68,4 @@ jobs:
6868
# make release
6969

7070
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v1
71+
uses: github/codeql-action/analyze@v4

.github/workflows/early-access.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
VERSION: ${{ steps.vars.outputs.VERSION }}
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v5
1616

1717
- name: Cancel previous run
1818
uses: styfle/[email protected]
@@ -32,12 +32,14 @@ jobs:
3232

3333
steps:
3434
- name: Checkout
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v5
3636
with:
3737
fetch-depth: 0
3838

3939
- name: Set up Go
40-
uses: actions/setup-go@v5
40+
uses: actions/setup-go@v6
41+
with:
42+
go-version: '1.25.3'
4143

4244
- name: Assemble
4345
uses: jreleaser/release-action@v2
@@ -49,7 +51,7 @@ jobs:
4951

5052
- name: JReleaser assemble output
5153
if: always()
52-
uses: actions/upload-artifact@v4
54+
uses: actions/upload-artifact@v5
5355
with:
5456
retention-days: 1
5557
name: jreleaser-assemble
@@ -64,10 +66,13 @@ jobs:
6466
env:
6567
JRELEASER_PROJECT_VERSION: ${{ needs.precheck.outputs.VERSION }}
6668
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69+
JRELEASER_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
70+
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }}
71+
JRELEASER_GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
6772

6873
- name: JReleaser release output
6974
if: always()
70-
uses: actions/upload-artifact@v4
75+
uses: actions/upload-artifact@v5
7176
with:
7277
retention-days: 1
7378
name: jreleaser-release

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v5
1717
with:
1818
fetch-depth: 0
1919

@@ -32,7 +32,9 @@ jobs:
3232
git push origin main
3333
3434
- name: Setup Go
35-
uses: actions/setup-go@v5
35+
uses: actions/setup-go@v6
36+
with:
37+
go-version: '1.25.3'
3638

3739
- name: Assemble
3840
uses: jreleaser/release-action@v2
@@ -44,7 +46,7 @@ jobs:
4446

4547
- name: JReleaser assemble output
4648
if: always()
47-
uses: actions/upload-artifact@v4
49+
uses: actions/upload-artifact@v5
4850
with:
4951
retention-days: 1
5052
name: jreleaser-assemble
@@ -69,7 +71,7 @@ jobs:
6971

7072
- name: JReleaser release output
7173
if: always()
72-
uses: actions/upload-artifact@v4
74+
uses: actions/upload-artifact@v5
7375
with:
7476
retention-days: 1
7577
name: jreleaser-release

0 commit comments

Comments
 (0)