refactor: streamline release and test workflows by removing unnecessary steps

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

View File

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

View File

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