Skip to content

Commit e54aca8

Browse files
committed
Simplify GitHub Action setup
Use `stable` as Go version. Fix naming for linter job. Remove unnecessary builds.
1 parent ca63f2b commit e54aca8

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,18 @@ on:
1212
- main
1313

1414
jobs:
15-
build:
15+
golangci-lint:
1616
name: golangci-lint
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Set up Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: 1.23.x
22+
go-version: stable
2323

2424
- name: Check out code into the Go module directory
2525
uses: actions/checkout@v4
2626

27-
- name: Build source code
28-
run: go build ./...
29-
3027
- name: golangci-lint
3128
uses: golangci/golangci-lint-action@v6
3229
with:

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: 1.23.x
22+
go-version: stable
2323

2424
- name: Check out code into the Go module directory
2525
uses: actions/checkout@v4

0 commit comments

Comments
 (0)