build(deps): bump github.com/spf13/viper from 1.20.0 to 1.20.1 #335
This file contains hidden or 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: | |
tags: | |
- v* | |
branches: | |
- master | |
pull_request: | |
jobs: | |
golangci: | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 'stable' | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v4 | |
with: | |
version: v1.62.2 | |
args: --timeout=5m | |
# Optional: show only new issues if it's a pull request. The default value is `false`. | |
only-new-issues: true | |
checklicenses: | |
name: checklicenses | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 'stable' | |
- name: check license headers | |
run: | | |
set -exu | |
go get github.com/u-root/u-root/tools/checklicenses | |
go install github.com/u-root/u-root/tools/checklicenses | |
$(go env GOPATH)/bin/checklicenses -c .ci/checklicenses_config.json |