bump gcl #373
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: go-licenses-check | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- .github/workflows/go-licenses-check.yaml | |
- go.mod | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-$${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
check-licenses: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
- name: Install go-licenses | |
run: | | |
go install github.com/google/go-licenses@v1.6.0 | |
- name: Run go-licenses check | |
run: go-licenses check ./... --ignore github.com/loft-sh | |
env: | |
GOPRIVATE: "github.com/loft-sh/*" |