Add CacheDir
function to config
package (#126)
#503
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.20" | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Check dependencies | |
run: | | |
go mod tidy | |
git diff --exit-code go.mod | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3.4.0 | |
with: | |
version: v1.52 |