ci: add test/lint workflow and private module auth

This commit is contained in:
2026-03-11 21:53:00 +00:00
parent ff70d048db
commit 7779280840
2 changed files with 58 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ jobs:
with:
go-version-file: go.mod
- name: Configure private modules
run: git config --global url."https://${{ secrets.GO_MODULE_PAT }}@github.com/".insteadOf "https://github.com/"
if: ${{ secrets.GO_MODULE_PAT != '' }}
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser-pro