Remove versions from lint job #287
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 Scanning | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
fossa: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
- name: Add GOPATH to GITHUB_ENV | |
run: echo "GOPATH=$(go env GOPATH)" >>"$GITHUB_ENV" | |
- name: Add GOPATH to GITHUB_PATH | |
run: echo "$GOPATH/bin" >>"$GITHUB_PATH" | |
- name: Get dependencies | |
run: go get -v -t -d ./... | |
- name: Run FOSSA scan and upload build data | |
uses: fossas/fossa-action@v1 | |
with: | |
api-key: ${{secrets.FOSSA_TOKEN}} |