Skip to content

Commit

Permalink
Update to support Go 1.20 (#209)
Browse files Browse the repository at this point in the history
* update go.mod
* GH actions - go version updated
* update golangci-lint
* tail collector: os.SEEK_END  deprecated
* Update DockerFile
* Update  doc
* goreleaser fix
  • Loading branch information
dmachard authored Feb 8, 2023
1 parent 91c29cc commit d8e017b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20
go-version: "1.20"

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
Expand Down
6 changes: 6 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

before:
hooks:
- go mod tidy

builds:
- env:
- CGO_ENABLED=0
Expand All @@ -23,12 +27,14 @@ builds:
archives:
- id: zipformat
format: zip
rlcp: true
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
files:
- config.yml

- id: targzformat
format: tar.gz
rlcp: true
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
files:
- config.yml
Expand Down

0 comments on commit d8e017b

Please sign in to comment.