|
|
@ -17,7 +17,7 @@ jobs:
|
|
|
|
- name: Set up Go
|
|
|
|
- name: Set up Go
|
|
|
|
uses: actions/setup-go@v4
|
|
|
|
uses: actions/setup-go@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
go-version: '^1.19.5'
|
|
|
|
go-version: '^1.21.3'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check out code
|
|
|
|
- name: Check out code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
uses: actions/checkout@v4
|
|
|
@ -36,7 +36,7 @@ jobs:
|
|
|
|
- name: Set up Go
|
|
|
|
- name: Set up Go
|
|
|
|
uses: actions/setup-go@v4
|
|
|
|
uses: actions/setup-go@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
go-version: '^1.19.5'
|
|
|
|
go-version: '^1.21.3'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check out code
|
|
|
|
- name: Check out code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
uses: actions/checkout@v4
|
|
|
@ -60,7 +60,7 @@ jobs:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-go@v4
|
|
|
|
- uses: actions/setup-go@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
go-version: '^1.19.5'
|
|
|
|
go-version: '^1.21.3'
|
|
|
|
- run: go mod download
|
|
|
|
- run: go mod download
|
|
|
|
- name: Validates GO releaser config
|
|
|
|
- name: Validates GO releaser config
|
|
|
|
uses: goreleaser/goreleaser-action@v5
|
|
|
|
uses: goreleaser/goreleaser-action@v5
|
|
|
@ -71,7 +71,7 @@ jobs:
|
|
|
|
uses: goreleaser/goreleaser-action@v5
|
|
|
|
uses: goreleaser/goreleaser-action@v5
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
distribution: goreleaser
|
|
|
|
distribution: goreleaser
|
|
|
|
args: release --snapshot --skip-publish --clean
|
|
|
|
args: release --snapshot --skip=publish --clean
|
|
|
|
- name: Setup BATS
|
|
|
|
- name: Setup BATS
|
|
|
|
run: test/install-bats.sh
|
|
|
|
run: test/install-bats.sh
|
|
|
|
- name: Run End-To_end testing with the docker container
|
|
|
|
- name: Run End-To_end testing with the docker container
|
|
|
|