Skip to content

Commit

Permalink
Merge pull request #28 from tschaub/updates
Browse files Browse the repository at this point in the history
Updated release config
  • Loading branch information
tschaub authored Nov 9, 2024
2 parents d8c2b8e + 5b91b58 commit fe414ec
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
go-version: '1.21'
go-version: '1.22'
- uses: golangci/golangci-lint-action@v6
with:
version: v1.54.1
version: v1.56.1
args: "--out-${NO_FUTURE}format colored-line-number"

test:
Expand All @@ -27,5 +27,21 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
go-version: '1.21'
go-version: '1.22'
- run: go test -v ./...

release-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/[email protected]
with:
go-version: '1.22'
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: check
5 changes: 4 additions & 1 deletion .goreleaser.yaml → .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2

before:
hooks:
- go mod tidy
Expand Down Expand Up @@ -27,7 +30,7 @@ dockers:
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
use: github-native
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/tschaub/serve

go 1.21.0
go 1.22.0

require (
github.com/alecthomas/kong v1.3.0
Expand Down

0 comments on commit fe414ec

Please sign in to comment.