small updates to the CI scripts

pull/109/head
Jean-Marc Meessen 1 year ago
parent 88a516d27d
commit e3fec2c4bb
No known key found for this signature in database

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

@ -15,7 +15,7 @@ jobs:
run: git fetch --prune --unshallow
- uses: actions/setup-go@v4
with:
go-version: '^1.19.5'
go-version: '^1.21.3'
- name: Release via goreleaser
uses: goreleaser/goreleaser-action@v5
with:

@ -29,7 +29,7 @@ test-coverage: ## Run tests with coverage
@cat cover.out >> coverage.txt
build: ## Build the binary file
@goreleaser --snapshot --skip-publish --clean
@goreleaser --snapshot --skip=publish --clean
@cp dist/FLEcli_darwin_amd64_v1/FLEcli .
clean: ## Remove previous build

Loading…
Cancel
Save