Skip to content

Commit eeecd0d

Browse files
authored
Merge pull request #208 from gonvenience/tweak/github-action-setup
Simplify GitHub Action setup
2 parents 251deee + 290551d commit eeecd0d

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
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 & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,11 @@ 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
2626

27-
- name: Build Go Code
28-
run: |
29-
go build ./...
30-
3127
- name: Run Go Unit Tests
3228
run: |
3329
go run -mod=mod github.com/onsi/ginkgo/v2/ginkgo run \

0 commit comments

Comments
 (0)