|
|
|
@ -19,7 +19,7 @@ jobs:
|
|
|
|
|
- name: Set up Go
|
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
|
with:
|
|
|
|
|
go-version: ">=1.20.0"
|
|
|
|
|
go-version: "stable"
|
|
|
|
|
- name: Test
|
|
|
|
|
run: make test
|
|
|
|
|
|
|
|
|
@ -36,10 +36,11 @@ jobs:
|
|
|
|
|
- name: Set up Go
|
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
|
with:
|
|
|
|
|
go-version: ">=1.20.0"
|
|
|
|
|
go-version: "stable"
|
|
|
|
|
- name: Run GoReleaser
|
|
|
|
|
uses: goreleaser/goreleaser-action@v2
|
|
|
|
|
with:
|
|
|
|
|
workdir: "cmd/obp/cmd/"
|
|
|
|
|
distribution: goreleaser
|
|
|
|
|
version: ${{ env.GITHUB_REF_NAME }}
|
|
|
|
|
args: release --clean
|
|
|
|
|