Skip to content

Commit

Permalink
ci: Make sure semver gets linted.
Browse files Browse the repository at this point in the history
  • Loading branch information
Curtis Jewell committed Jan 6, 2024
1 parent 8c4b30e commit 7ffeb72
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout git-next-tag
- uses: actions/setup-go@v4
name: Setup Go
with:
go-version: '1.21'
cache: false
- name: golangci-lint
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Require: The version of golangci-lint to use.
Expand All @@ -30,7 +32,7 @@ jobs:
#
# Note: By default, the `.golangci.yml` file should be at the root of the repository.
# The location of the configuration file can be changed by using `--config=`
# args: --timeout=30m --config=/my/path/.golangci.yml --issues-exit-code=0
args: ./... semver/...

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

0 comments on commit 7ffeb72

Please sign in to comment.