refactor: streamline release and test workflows by removing unnecessary steps
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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 ./...
|
||||
Reference in New Issue
Block a user