Skip to content

Commit

Permalink
dev: publish snap
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Nov 13, 2024
1 parent 5d5f373 commit 6fbfbbb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,5 @@ jobs:
args: release --clean --timeout=90m
env:
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
GITHUB_TOKEN: ${{ secrets.GOLANGCI_LINT_TOKEN }}
13 changes: 13 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,19 @@ chocolateys:
skip_publish: false
goamd64: v1

snapcrafts:
- name_template: "{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
grade: stable
confinement: classic
license: GPL-3.0
base: core22
summary: Fast linters runner for Go.
description: |
Runs linters in parallel, uses caching, supports yaml config,
has integrations with all major IDE and has dozens of linters included.
disable: false
publish: true

nfpms:
-
id: golangci-lint-nfpms
Expand Down

0 comments on commit 6fbfbbb

Please sign in to comment.