chore(deps): update module github.com/golangci/golangci-lint to v1.58.2 #27
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 `go mod tidy` has been run | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
# perform matrix testing to give us an earlier insight into issues with different versions of supported major versions of Go | |
matrix: | |
version: | |
- "1.20" | |
- "1.21" | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.version }} | |
- name: Install `tidied` | |
run: go install gitlab.com/jamietanna/tidied@latest | |
- name: Check for no untracked files | |
run: tidied -verbose |