Update module github.com/golangci/golangci-lint to v1.54.2 #7
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: Ensure generated files are up-to-date | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: 'go.mod' | |
- name: Run `make generate` | |
run: make generate | |
- name: Check for no untracked files | |
run: git status && git diff-index --quiet HEAD -- |