chore(deps): bump path-to-regexp and express (#2267) #2235
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go 1.17 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.17 | |
id: go | |
- name: Install addlicense | |
run: | | |
export PATH=${PATH}:`go env GOPATH`/bin | |
go get -v -u github.com/google/addlicense | |
- name: Check license python | |
run: | | |
export PATH=${PATH}:`go env GOPATH`/bin | |
addlicense -check -l mit -c "Amundsen" $(find $PWD -type f -name '*.py') | |
- name: Check license tsx | |
run: | | |
export PATH=${PATH}:`go env GOPATH`/bin | |
addlicense -check -l mit -c "Amundsen" $(find $PWD -type f -name '*.tsx') |