Bump github.com/btcsuite/btcd from 0.23.5-0.20231215221805-96c9fd8078fd to 0.24.0 #161
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: | |
- master | |
pull_request: | |
branches: | |
- master | |
permissions: | |
contents: read | |
# Optional: allow read access to pull request. Use with `only-new-issues` option. | |
# pull-requests: read | |
env: | |
GOCACHE: /home/runner/work/go/pkg/build | |
GOPATH: /home/runner/work/go | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22.0' # The Go version to download (if necessary) and use. | |
# Install all the dependencies | |
- name: Install dependencies | |
run: | | |
go mod tidy | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version | |
version: v1.56.2 | |
# Run build of the application | |
- name: Run build | |
run: go build . | |