Skip to content

Commit 6fbfbbb

Browse files
committed
dev: publish snap
1 parent 5d5f373 commit 6fbfbbb

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/tag.yml

+1
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,5 @@ jobs:
6868
args: release --clean --timeout=90m
6969
env:
7070
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}
71+
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
7172
GITHUB_TOKEN: ${{ secrets.GOLANGCI_LINT_TOKEN }}

.goreleaser.yml

+13
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,19 @@ chocolateys:
134134
skip_publish: false
135135
goamd64: v1
136136

137+
snapcrafts:
138+
- name_template: "{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
139+
grade: stable
140+
confinement: classic
141+
license: GPL-3.0
142+
base: core22
143+
summary: Fast linters runner for Go.
144+
description: |
145+
Runs linters in parallel, uses caching, supports yaml config,
146+
has integrations with all major IDE and has dozens of linters included.
147+
disable: false
148+
publish: true
149+
137150
nfpms:
138151
-
139152
id: golangci-lint-nfpms

0 commit comments

Comments
 (0)