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
|
- 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'
|
||||||
|
|||||||
@@ -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 ./...
|
|
||||||
Reference in New Issue
Block a user