Add scope navs for testnet to v1.19.0-rc1 upgrade handler #7490
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 | |
# This workflow is run on every pull request and push to main | |
# The `golangci` will pass without running if no *.{go, mod, sum} files have been changed. | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
# concurrency is not defined in here because this job usually doesn't | |
# run long enough to need cancelling, and it's okay for it to run multiple | |
# times for the same PR. | |
jobs: | |
golangci: | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: technote-space/get-diff-action@v6.1.2 | |
with: | |
PATTERNS: | | |
**/**.go | |
go.mod | |
go.sum | |
.github/workflows/lint.yml | |
scripts/no-now-lint.sh | |
- uses: actions/setup-go@v5 | |
if: env.GIT_DIFF | |
with: | |
go-version: '1.21' | |
- uses: golangci/golangci-lint-action@v6 | |
if: env.GIT_DIFF | |
with: | |
# If you change this version, be sure to also change it in contrib/devtools/Makefile. | |
version: v1.54 | |
args: --timeout 10m --out-${NO_FUTURE}format colored-line-number | |
github-token: ${{ secrets.github_token }} | |
- name: No Now Usage | |
if: env.GIT_DIFF | |
run: scripts/no-now-lint.sh |