Skip to content

Commit f92cfc4

Browse files
committed
Publish nixpkg with GoReleaser
1 parent f9da376 commit f92cfc4

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ name: pr
22

33
on:
44
pull_request:
5-
branches: [ '**' ]
5+
branches: ["**"]
66
workflow_dispatch:
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
tests:
1013
strategy:
@@ -22,7 +25,7 @@ jobs:
2225
uses: actions/setup-go@v4
2326
with:
2427
go-version: ${{ matrix.go_version }}
25-
28+
2629
- name: Run tests
2730
run: go test -json ./... > test-results.json
2831

.goreleaser.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,25 @@ brews:
6969
pull_request:
7070
enabled: false
7171

72+
nix:
73+
- name: jwker
74+
homepage: "https://github.com/jphastings/jwker/"
75+
description: "Easily convert between PEM and JWK files."
76+
license: "MIT"
77+
78+
commit_author:
79+
name: goreleaserbot
80+
email: jwker.github.bot@byjp.me
81+
82+
repository:
83+
owner: jphastings
84+
name: nixpkgs
85+
branch: main
86+
token: "{{ .Env.HOMEBREW_PAT }}"
87+
88+
pull_request:
89+
enabled: false
90+
7291
checksum:
7392
name_template: 'checksums.txt'
7493
snapshot:

0 commit comments

Comments
 (0)