Skip to content

Commit

Permalink
Merge pull request #175 from homeport/tweak/github-action-setup
Browse files Browse the repository at this point in the history
Simplify GitHub Action setup
  • Loading branch information
HeavyWombat authored Jan 8, 2025
2 parents f6b51a2 + 596290b commit 9e0cd8c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,18 @@ on:
- main

jobs:
build:
golangci-lint:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.23.x
go-version: stable

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

- name: Build source code
run: go build ./...

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.23.x
go-version: stable

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.23.x
go-version: stable

- name: Check out code into the Go module directory
uses: actions/checkout@v3
Expand Down

0 comments on commit 9e0cd8c

Please sign in to comment.