Skip to content

Commit

Permalink
Merge pull request #115 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 047306b + ea4a3c7 commit 8441866
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@v5
with:
go-version: 1.23.x
go-version: stable

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

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

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/misspell.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@v5
with:
go-version: 1.23.x
go-version: stable

- name: Check out code into the Go module directory
uses: actions/checkout@v4
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@v5
with:
go-version: 1.23.x
go-version: stable

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

0 comments on commit 8441866

Please sign in to comment.