Skip to content

Commit d708da8

Browse files
committed
Bump versions
1 parent f92cfc4 commit d708da8

File tree

5 files changed

+29
-31
lines changed

5 files changed

+29
-31
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: goreleaser
33
on:
44
push:
55
tags:
6-
- 'v*'
6+
- "v*"
7+
workflow_dispatch:
78

89
permissions:
910
contents: write
@@ -12,24 +13,28 @@ jobs:
1213
goreleaser:
1314
runs-on: ubuntu-latest
1415
steps:
15-
-
16-
name: Checkout
17-
uses: actions/checkout@v3
16+
- name: Checkout
17+
uses: actions/checkout@v5
1818
with:
1919
fetch-depth: 0
20-
-
21-
name: Set up Go
22-
uses: actions/setup-go@v4
2320

24-
- run: go test -v ./...
25-
- uses: docker/login-action@v1
21+
- name: Set up Go
22+
uses: actions/setup-go@v6
23+
24+
- name: Run tests
25+
run: go test -v ./...
26+
27+
- uses: docker/login-action@v3
2628
with:
2729
registry: ghcr.io
2830
username: ${{ github.repository_owner }}
2931
password: ${{ secrets.GITHUB_TOKEN }}
30-
-
31-
name: Run GoReleaser
32-
uses: goreleaser/goreleaser-action@v4
32+
33+
- name: Install Nix
34+
uses: cachix/install-nix-action@v31
35+
36+
- name: Run GoReleaser
37+
uses: goreleaser/goreleaser-action@v6
3338
with:
3439
distribution: goreleaser
3540
version: latest

.github/workflows/tests.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,20 @@ permissions:
1010

1111
jobs:
1212
tests:
13-
strategy:
14-
matrix:
15-
go_version:
16-
- "1.20"
17-
18-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1914

2015
steps:
21-
- name: checkout
22-
uses: actions/checkout@v3
16+
- name: Checkout
17+
uses: actions/checkout@v5
2318

2419
- name: Set up Go
25-
uses: actions/setup-go@v4
26-
with:
27-
go-version: ${{ matrix.go_version }}
20+
uses: actions/setup-go@v6
2821

2922
- name: Run tests
3023
run: go test -json ./... > test-results.json
3124

3225
- name: Annotate tests
3326
if: always()
34-
uses: guyarb/golang-test-annotations@v0.6.0
27+
uses: guyarb/golang-test-annotations@v0.8.0
3528
with:
3629
test-results: test-results.json

.goreleaser.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
project_name: jwker
23
before:
34
hooks:
@@ -17,7 +18,7 @@ builds:
1718
- arm64
1819

1920
archives:
20-
- format: tar.gz
21+
- formats: [tar.gz]
2122
name_template: >-
2223
{{ .ProjectName }}_
2324
{{- title .Os }}_
@@ -27,7 +28,7 @@ archives:
2728
{{- if .Arm }}v{{ .Arm }}{{ end }}
2829
format_overrides:
2930
- goos: windows
30-
format: zip
31+
formats: [zip]
3132

3233
brews:
3334
- name: jwker
@@ -37,7 +38,7 @@ brews:
3738
email: bot@goreleaser.com
3839

3940
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
40-
folder: Formula
41+
directory: Formula
4142
homepage: "https://github.com/jphastings/jwker/"
4243

4344
description: "Easily convert between PEM and JWK files."
@@ -73,7 +74,7 @@ nix:
7374
- name: jwker
7475
homepage: "https://github.com/jphastings/jwker/"
7576
description: "Easily convert between PEM and JWK files."
76-
license: "MIT"
77+
license: "mit"
7778

7879
commit_author:
7980
name: goreleaserbot
@@ -91,7 +92,7 @@ nix:
9192
checksum:
9293
name_template: 'checksums.txt'
9394
snapshot:
94-
name_template: "{{ incpatch .Version }}-next"
95+
version_template: "{{ incpatch .Version }}-next"
9596
changelog:
9697
sort: asc
9798
filters:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/jphastings/jwker
22

3-
go 1.20
3+
go 1.24.9
44

55
require github.com/stretchr/testify v1.8.4
66

go.sum

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
22
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
33
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
44
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
5-
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
65
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
76
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
87
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=

0 commit comments

Comments
 (0)