Merge pull request #517 from wwqgtxx/patch-1 #476
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: | |
tags: | |
- v* | |
branches: | |
- master | |
pull_request: | |
jobs: | |
golangci: | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: golangci/golangci-lint-action@v3 | |
# checklicenses: | |
# name: checklicenses | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: check license headers | |
# run: | | |
# set -exu | |
# go get -u github.com/u-root/u-root/tools/checklicenses | |
# $(go env GOPATH)/bin/checklicenses -c .ci/checklicenses_config.json |