Remove Bugsnag-Integrity header, server side notifiers don't have to … #298
Workflow file for this run
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: Audit bugsnag-go dependency licenses | |
on: [push, pull_request] | |
jobs: | |
license-audit: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: 'go/src/github.com/bugsnag/bugsnag-go/v2' | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
path: 'go/src/github.com/bugsnag/bugsnag-go' # relative to $GITHUB_WORKSPACE | |
- name: set GOPATH | |
run: | | |
bash -c 'echo "GOPATH=$GITHUB_WORKSPACE/go" >> $GITHUB_ENV' | |
- name: Fetch decisions.yml | |
run: curl https://raw.githubusercontent.com/bugsnag/license-audit/master/config/decision_files/global.yml -o decisions.yml | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '1.16' | |
- name: install dependencies | |
run: go get -v -d ./... | |
- name: Run License Finder | |
run: > | |
docker run -v $PWD:/scan licensefinder/license_finder /bin/bash -lc " | |
cd /scan && | |
license_finder --decisions-file decisions.yml --enabled-package-managers=gomodules | |
" |