Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
Signed-off-by: kl7sn <[email protected]>
  • Loading branch information
kl7sn committed Feb 20, 2024
1 parent 536e5fa commit 3a89e56
Show file tree
Hide file tree
Showing 4 changed files with 1,399 additions and 11 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.45.2
version: v1.55

# Optional: working directory, useful for monorepos
# working-directory: ./
Expand All @@ -26,7 +30,7 @@ jobs:
args: --timeout=5m --print-issued-lines=true --print-linter-name=true --uniq-by-line=true

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

# Optional: if set to true then the action will use pre-installed Go
# skip-go-installation: true
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
with:
fetch-depth: 0
-
name: Set up Go
name: Set up Go 1.21
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.21
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
Loading

0 comments on commit 3a89e56

Please sign in to comment.