build(deps): bump WyriHaximus/github-action-get-previous-tag from 1.3 to 1.4 #624
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: license-check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
addlicense-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19 | |
- name: Run license check | |
run: | | |
go install github.com/google/addlicense@latest | |
export PATH=$PATH:$(go env GOPATH)/bin | |
addlicense -f hack/LICENSE.go.txt -check $(find $PWD -type f -name '*.go') |