mirror of
https://github.com/on4kjm/FLEcli.git
synced 2025-01-18 13:01:09 +01:00
small updates to the CI scripts
This commit is contained in:
parent
88a516d27d
commit
e3fec2c4bb
3 changed files with 6 additions and 6 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -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:
|
||||
|
|
2
Makefile
2
Makefile
|
@ -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…
Reference in a new issue