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