File tree Expand file tree Collapse file tree 3 files changed +13
-29
lines changed
Expand file tree Collapse file tree 3 files changed +13
-29
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 build :
1414 name : Build
15- runs-on : ubuntu-latest
15+ runs-on : ubuntu-22.04
1616
1717 steps :
1818 - name : Setup go
3131
3232 test :
3333 name : Test
34- runs-on : ubuntu-latest
34+ runs-on : ubuntu-22.04
3535
3636 steps :
3737 - name : Setup go
4747
4848 lint :
4949 name : Lint
50- runs-on : ubuntu-latest
50+ runs-on : ubuntu-22.04
5151
5252 steps :
5353 - name : Setup go
Original file line number Diff line number Diff line change 99jobs :
1010 build :
1111 name : Release
12- runs-on : ubuntu-latest
12+ runs-on : ubuntu-22.04
1313
1414 steps :
1515 - name : Setup go
2020 - name : Checkout code
2121 uses : actions/checkout@v2
2222
23- - name : Setup upx
24- run : |-
25- cd "$(mktemp -d)"
26- wget -q https://github.com/upx/upx/releases/download/v3.96/upx-3.96-amd64_linux.tar.xz
27- tar -xf upx-3.96-amd64_linux.tar.xz
28- sudo install upx-3.96-amd64_linux/upx /usr/bin/upx
29- rm -rf "$PWD"
30-
3123 - name : Build and publish release artifacts
3224 uses : goreleaser/goreleaser-action@v2
3325 with :
Original file line number Diff line number Diff line change @@ -4,20 +4,16 @@ builds:
44 - id : retry
55 binary : retry
66
7- goos :
8- - darwin
9- - windows
10- - linux
11-
12- goarch :
13- - amd64
14- - 386
15-
16- ignore :
17- - goos : darwin
18- goarch : 386
7+ targets :
8+ - darwin_amd64
9+ - darwin_arm64
10+ - linux_amd64
11+ - linux_arm64
12+ - windows_386
13+ - windows_amd64
1914
2015 flags :
16+ - -buildvcs=false
2117 - -trimpath
2218
2319 ldflags :
@@ -28,9 +24,6 @@ builds:
2824 env :
2925 - CGO_ENABLED=0
3026
31- hooks :
32- post : upx --best --ultra-brute "{{ .Path }}"
33-
3427archives :
3528 - id : retry
3629 builds : [retry]
@@ -52,7 +45,6 @@ changelog:
5245
5346brews :
5447 - name : retry
55- ids : [retry]
5648
5749 tap :
5850 owner : joshdk
6355
6456 commit_msg_template : " feat: brew formula update for {{ .ProjectName }} {{ .Tag }}"
6557 commit_author :
66- name : joshdk
58+ name : Josh Komoroske
6759 email : jdkomo@gmail.com
6860
6961 folder : Formula
You can’t perform that action at this time.
0 commit comments