Skip to content

Commit 2fd1142

Browse files
committed
chore: update GitHub Actions workflows to use latest Ubuntu and Go 1.24
1 parent a3ad8c3 commit 2fd1142

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ on:
1515
jobs:
1616
lint:
1717
name: Run golangci-lint
18-
runs-on: [ubuntu-22.04]
18+
runs-on: [ubuntu-latest]
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v3
2222
- name: Install Go
2323
uses: actions/setup-go@v3
2424
with:
25-
go-version: "1.21.x"
25+
go-version: "1.24.x"
2626
- name: golangci-lint
2727
uses: golangci/golangci-lint-action@v3
2828
with:
@@ -31,14 +31,14 @@ jobs:
3131
skip-build-cache: true
3232
args: --timeout=2m
3333
test:
34-
runs-on: [ubuntu-22.04]
34+
runs-on: [ubuntu-latest]
3535
steps:
3636
- name: Checkout
3737
uses: actions/checkout@v3
3838
- name: Install Go
3939
uses: actions/setup-go@v3
4040
with:
41-
go-version: "1.21.x"
41+
go-version: "1.24.x"
4242
- name: Run tests
4343
run: go test -race -coverprofile cover.out -vet=off ./...
4444
- name: Print coverage

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
prepare:
15-
runs-on: [ubuntu-22.04]
15+
runs-on: [ubuntu-latest]
1616
outputs:
1717
version_tag: ${{ steps.version_tag.outputs.value }}
1818
build_date: ${{ steps.build_date.outputs.value }}
@@ -38,7 +38,7 @@ jobs:
3838
release:
3939
needs:
4040
- prepare
41-
runs-on: [ ubuntu-22.04 ]
41+
runs-on: [ ubuntu-latest ]
4242
env:
4343
VERSION_TAG: ${{ needs.prepare.outputs.version_tag }}
4444
steps:
@@ -50,7 +50,7 @@ jobs:
5050
- name: Setup Go
5151
uses: actions/setup-go@v2
5252
with:
53-
go-version: "1.21.x"
53+
go-version: "1.24.x"
5454

5555
- name: Setup Git
5656
run: |

0 commit comments

Comments
 (0)