Remove default configuration and add fallback configuration #566
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, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.21" | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Check dependencies | |
run: | | |
go mod tidy | |
git diff --exit-code go.mod | |
- name: Lint | |
uses: golangci/[email protected] | |
with: | |
version: v1.52 |