CI: update to use latest stable Go version #22
Workflow file for this run
This file contains hidden or 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 Analysis | |
| on: [push, pull_request] | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: 'stable' | |
| - name: install lian | |
| run: go install lucor.dev/lian@latest | |
| - name: license check against go.mod | |
| run: lian -d --allowed="BSD-2-Clause, BSD-3-Clause, MIT" | |
| - name: build | |
| run: go build | |
| - name: License check against the Go binary | |
| run: lian --allowed="BSD-2-Clause, BSD-3-Clause, MIT" ./lian |