Skip to content

Commit 4965d24

Browse files
authored
ci(workflow): Updated go-version in go-test and realease workflows. (#559)
Signed-off-by: Akhil Repala <arepala@blinklabs.io>
1 parent dfcbbe8 commit 4965d24

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/go-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: go-test
1717
strategy:
1818
matrix:
19-
go-version: [1.24.x, 1.25.x]
19+
go-version: [1.25.x, 1.26.x]
2020
platform: [ubuntu-latest]
2121
runs-on: ${{ matrix.platform }}
2222
steps:

.github/workflows/publish.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: publish
22

33
on:
44
push:
5-
branches: ['main']
5+
branches: ["main"]
66
tags:
7-
- 'v*.*.*'
7+
- "v*.*.*"
88

99
concurrency: ${{ github.ref }}
1010

@@ -16,7 +16,7 @@ jobs:
1616
outputs:
1717
RELEASE_ID: ${{ steps.create-release.outputs.result }}
1818
steps:
19-
- run: "echo \"RELEASE_TAG=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV"
19+
- run: 'echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV'
2020
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 https://github.com/actions/github-script/releases/tag/v9.0.0
2121
id: create-release
2222
if: startsWith(github.ref, 'refs/tags/')
@@ -76,13 +76,13 @@ jobs:
7676
packages: write
7777
statuses: write
7878
steps:
79-
- run: "echo \"RELEASE_TAG=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV"
79+
- run: 'echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV'
8080
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 https://github.com/actions/checkout/releases/tag/v6.0.2
8181
with:
82-
fetch-depth: '0'
82+
fetch-depth: "0"
8383
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 https://github.com/actions/setup-go/releases/tag/v6.4.0
8484
with:
85-
go-version: 1.24.x
85+
go-version: 1.25.x
8686
- name: Build binary
8787
run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} make build
8888

@@ -92,16 +92,16 @@ jobs:
9292
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.os == 'windows' }}
9393
with:
9494
java-version: 17
95-
distribution: 'temurin'
96-
- id: 'auth'
95+
distribution: "temurin"
96+
- id: "auth"
9797
name: Authenticate with Google Cloud
9898
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.os == 'windows' }}
99-
uses: 'google-github-actions/auth@v3'
99+
uses: "google-github-actions/auth@v3"
100100
with:
101-
credentials_json: '${{ secrets.CERTIFICATE_SA_CREDENTIALS }}'
101+
credentials_json: "${{ secrets.CERTIFICATE_SA_CREDENTIALS }}"
102102
- name: Set up Cloud SDK
103103
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.os == 'windows' }}
104-
uses: 'google-github-actions/setup-gcloud@v3'
104+
uses: "google-github-actions/setup-gcloud@v3"
105105
- name: Sign windows binary
106106
if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.os == 'windows' }}
107107
run: |
@@ -193,7 +193,7 @@ jobs:
193193
- name: Attest binary
194194
uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4.1.0 https://github.com/actions/attest/releases/tag/v4.1.0
195195
with:
196-
subject-path: 'bluefin'
196+
subject-path: "bluefin"
197197

198198
build-images:
199199
runs-on: ubuntu-latest
@@ -207,10 +207,10 @@ jobs:
207207
packages: write
208208
statuses: write
209209
steps:
210-
- run: "echo \"RELEASE_TAG=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV"
210+
- run: 'echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV'
211211
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 https://github.com/actions/checkout/releases/tag/v6.0.2
212212
with:
213-
fetch-depth: '0'
213+
fetch-depth: "0"
214214
- name: Set up QEMU
215215
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0 https://github.com/docker/setup-qemu-action/releases/tag/v4.0.0
216216
- name: Set up Docker Buildx

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/blinklabs-io/bluefin
22

3-
go 1.24.0
3+
go 1.25.0
44

5-
toolchain go1.24.4
5+
toolchain go1.25.7
66

77
require (
88
github.com/Salvionied/apollo v1.6.0

0 commit comments

Comments
 (0)