Skip to content

deps(golangci-lint): update to golangci-lint v2.11.4 #347

deps(golangci-lint): update to golangci-lint v2.11.4

deps(golangci-lint): update to golangci-lint v2.11.4 #347

Workflow file for this run

---
name: go-binaries
on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
tags:
- v*
permissions:
contents: write
jobs:
binaries:
runs-on: ubuntu-latest
steps:
- name: Checkout source
id: source
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup golang
id: golang
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: .go-version
- name: Run generate
id: generate
run: make generate
- name: Run release
id: release
run: make release
- name: Sign release
id: gpgsign
if: startsWith(github.ref, 'refs/tags/')
uses: cbrgm/pgp-sign-artifact-action@dd12209d61c263660656f49278286f378ca20580 # v1.0.3
with:
private_key: ${{ secrets.GNUPG_KEY }}
passphrase: ${{ secrets.GNUPG_PASSWORD }}
detach_sign: true
files: dist/*
excludes: dist/*.sha256
- name: Create GitHub Release
uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
files: "dist/*"
token: ${{ secrets.BOT_PAT_TOKEN }}
- name: Update version tags
uses: cbrgm/semver-tag-sync-action@390e6e14a7deaaecc0d628768dfc0fc1df34ca1c # v1.0.2
if: startsWith(github.ref, 'refs/tags/v')
...