Skip to content

Commit 23d0862

Browse files
committed
tidy actions and goreleaser config
1 parent 6fd1fc4 commit 23d0862

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/ci.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Go
1717
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
1818
with:
19-
go-version: '1.22'
19+
go-version-file: ./go.mod
2020
check-latest: true
2121

2222
- name: Set up QEMU
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
5151
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
5252
with:
53-
go-version: '1.22'
53+
go-version-file: ./go.mod
5454
check-latest: true
5555

5656
- name: generate docs
@@ -71,7 +71,7 @@ jobs:
7171
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
7272
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
7373
with:
74-
go-version-file: './go.mod'
74+
go-version-file: ./go.mod
7575
check-latest: true
7676
- name: golangci-lint
7777
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Go
2424
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
2525
with:
26-
go-version: '1.22'
26+
go-version-file: ./go.mod
2727
check-latest: true
2828

2929
- name: Set up QEMU

.goreleaser.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ snapshot:
5858
dockers:
5959
- goos: linux
6060
goarch: amd64
61-
skip_push: "{{ ne .GitURL 'https://github.com/helm/chart-releaser' | toYaml }}"
61+
skip_push: "{{ ne .GitURL "https://github.com/helm/chart-releaser" | toYaml }}"
6262
dockerfile: Dockerfile
6363
use: buildx
6464
image_templates:
@@ -77,7 +77,7 @@ dockers:
7777

7878
- goos: linux
7979
goarch: arm64
80-
skip_push: "{{ ne .GitURL 'https://github.com/helm/chart-releaser' | toYaml }}"
80+
skip_push: "{{ ne .GitURL "https://github.com/helm/chart-releaser" | toYaml }}"
8181
dockerfile: Dockerfile
8282
use: buildx
8383
image_templates:
@@ -97,7 +97,7 @@ dockers:
9797
- goos: linux
9898
goarch: arm
9999
goarm: 7
100-
skip_push: "{{ ne .GitURL 'https://github.com/helm/chart-releaser' | toYaml }}"
100+
skip_push: "{{ ne .GitURL "https://github.com/helm/chart-releaser" | toYaml }}"
101101
dockerfile: Dockerfile
102102
use: buildx
103103
image_templates:
@@ -116,7 +116,7 @@ dockers:
116116

117117
- goos: linux
118118
goarch: s390x
119-
skip_push: "{{ ne .GitURL 'https://github.com/helm/chart-releaser' | toYaml }}"
119+
skip_push: "{{ ne .GitURL "https://github.com/helm/chart-releaser" | toYaml }}"
120120
dockerfile: Dockerfile
121121
use: buildx
122122
image_templates:
@@ -135,7 +135,7 @@ dockers:
135135

136136
- goos: linux
137137
goarch: ppc64le
138-
skip_push: "{{ ne .GitURL 'https://github.com/helm/chart-releaser' | toYaml }}"
138+
skip_push: "{{ ne .GitURL "https://github.com/helm/chart-releaser" | toYaml }}"
139139
dockerfile: Dockerfile
140140
use: buildx
141141
image_templates:

0 commit comments

Comments
 (0)