Fix - Handle ES missing index edge case (bug fix) (#2193) #2038
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@v2 | |
- name: Set up Go 1.16 | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.16 | |
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') |