Skip to content

Commit

Permalink
Combine golangci-lint workflow into the go workflow, bump to Go 1.23.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobg committed Aug 5, 2024
1 parent 81f2bd7 commit 9f03b23
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 36 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,24 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.22
go-version: '1.23'

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest

# Optional: golangci-lint command line arguments.
# args: --issues-exit-code=0

# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true

- name: Unit tests
run: go test -v -coverprofile=cover.out ./...
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/golangci-lint.yml

This file was deleted.

0 comments on commit 9f03b23

Please sign in to comment.