Skip to content

Commit

Permalink
ci: fix goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-karan authored Jun 2, 2023
1 parent cd85b47 commit fd42276
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ jobs:
steps:
- name: Install Go
if: success()
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Run tests
run: go test ./cmd -v -covermode=count
49 changes: 24 additions & 25 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
before:
hooks:
- go mod tidy
hooks:
- go mod tidy

builds:
- env:
- CGO_ENABLED=0
binary: sql-jobber
goos:
- windows
- darwin
- linux
- freebsd
- openbsd
- netbsd
goarch:
- amd64
dir: ./cmd/

archives:
- format: tar.gz
rlcp: true
files:
- config.toml.sample
- README.md
- LICENSE

builds:
- env:
- CGO_ENABLED=0
binary: sql-jobber
goos:
- windows
- darwin
- linux
- freebsd
- openbsd
- netbsd
goarch:
- amd64
dir: ./cmd/

archives:
- format: tar.gz
rlcp: true
files:
- config.toml.sample
- README.md
- LICENSE

0 comments on commit fd42276

Please sign in to comment.