Skip to content

Merge pull request #3103 from kichristensen/updateMagefile #524

Merge pull request #3103 from kichristensen/updateMagefile

Merge pull request #3103 from kichristensen/updateMagefile #524

name: Check licenses
on:
push:
pull_request:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache: true
- name: Install go-licenses
run: go install github.com/google/[email protected]
- name: Check licenses
run: |
go-licenses check ./... \
--ignore github.com/xi2/xz,golang.org/x/sys/unix # https://github.com/xi2/xz/blob/master/LICENSE