ci: Use latest version of Go (#199) #284
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 | |
# Lint runs golangci-lint over the entire repository | |
# This workflow is run on every pull request and push to master | |
# The `golangci` job will pass without running if no *.{go, mod, sum} files have been modified. | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
golangci: | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 4 | |
steps: | |
- uses: actions/[email protected] | |
- uses: golangci/[email protected] | |
with: | |
version: latest | |
args: --timeout 10m | |
github-token: ${{ secrets.github_token }} |