github: update workflow to use test project and updated workflows #17
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 | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
license: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.16' | |
- name: Install addlicense | |
run: go install github.com/google/addlicense@latest | |
- name: Check license headers | |
run: "./.github/scripts/check_license.sh" |