Merge pull request #400 from carvel-dev/dependabot/go_modules/github.… #818
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: golangci-lint | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.20.7" | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: '0' | |
- name: golangci-lint | |
uses: golangci/[email protected] | |
with: | |
version: v1.52.2 | |
args: -v | |