refactor: streamline release and test workflows by removing unnecessary steps

This commit is contained in:
2025-01-21 15:49:50 -06:00
parent d88db3d9c1
commit 5a9b07f609
2 changed files with 5 additions and 10 deletions

View File

@@ -16,8 +16,7 @@ jobs:
- uses: actions/setup-go@v5 - uses: actions/setup-go@v5
with: with:
go-version-file: 'go.mod' go-version-file: 'go.mod'
- name: Release binaries - uses: goreleaser/goreleaser-action@v6
uses: goreleaser/goreleaser-action@v6
with: with:
distribution: goreleaser distribution: goreleaser
version: 'latest' version: 'latest'

View File

@@ -10,14 +10,10 @@ jobs:
- uses: actions/setup-go@v5 - uses: actions/setup-go@v5
with: with:
go-version-file: 'go.mod' go-version-file: 'go.mod'
- name: tidy - run: go mod tidy
run: go mod tidy - uses: golangci/golangci-lint-action@v3
- name: lint
uses: golangci/golangci-lint-action@v3
with: with:
args: -D errcheck args: -D errcheck
version: latest version: latest
- name: build - run: go build ./...
run: go build ./... - run: go test -race -v -shuffle=on ./...
- name: test
run: go test -race -v -shuffle=on ./...