Regen. #61
Workflow file for this run
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
name: Lint | |
on: [push] | |
jobs: | |
lint: | |
name: Run | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Get Go version from go.mod | |
id: go-version | |
run: echo "version=$(./scripts/extract-go-version.sh)" >> $GITHUB_OUTPUT | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ steps.go-version.outputs.version }} | |
- name: Download remote configuration | |
run: curl -sSL https://github.com/revett/dotfiles/raw/main/.golangci.yml -o .golangci.yml | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
config: .golangci.yml |