Skip to content

Commit

Permalink
dev: publish snap (#5130)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored Nov 25, 2024
1 parent 59f6a2e commit bc3d877
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,5 @@ jobs:
env:
AUR_KEY: ${{ secrets.AUR_KEY }}
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
GITHUB_TOKEN: ${{ secrets.GOLANGCI_LINT_TOKEN }}
14 changes: 13 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ chocolateys:
summary: Fast linters Runner for Go
description: |
{{ .ProjectName }} installer package.
Fast linters Runner for Go .
Fast linters Runner for Go.
release_notes: "https://github.com/golangci/golangci-lint/releases/tag/v{{ .Version }}"
api_key: "{{ .Env.CHOCOLATEY_API_KEY }}"
source_repo: "https://push.chocolatey.org/"
Expand Down Expand Up @@ -163,6 +163,18 @@ aurs:
./golangci-lint completion zsh | install -Dm644 /dev/stdin "${pkgdir}/usr/share/zsh/site-functions/_golangci-lint"
./golangci-lint completion fish | install -Dm644 /dev/stdin "${pkgdir}/usr/share/fish/vendor_completions.d/golangci-lint.fish"
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: |
It runs linters in parallel, uses caching, supports YAML configuration, integrates with all major IDEs, and includes over a hundred linters.
disable: false
publish: true

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

0 comments on commit bc3d877

Please sign in to comment.