Update to Go 1.19 as base and 1.21 as upper test version #324
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: Check license of dependencies | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
licenses: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- uses: WillAbides/[email protected] | |
with: | |
go-version: '1.21.x' | |
- name: Install lian | |
run: go install lucor.dev/lian@latest | |
- name: Check license of dependencies against go.mod | |
run: lian -d --allowed="Apache-2.0, BSD-2-Clause, BSD-3-Clause, MIT, ISC" --excluded=github.com/jsummers/[email protected] | |