This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
Bump goreleaser/goreleaser-action from 4 to 5 #467
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
name: Lint | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Granting private modules access | |
run: | | |
git config --global url."https://${{ secrets.REPO_PAT }}:[email protected]/nucleuscloud".insteadOf "https://github.com/nucleuscloud" | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: latest | |
args: --timeout=3m |