Skip to content

CI: update to use latest stable Go version #22

CI: update to use latest stable Go version

CI: update to use latest stable Go version #22

Workflow file for this run

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