Skip to content

add ReadDomainsOrIPsOrURLs #19

add ReadDomainsOrIPsOrURLs

add ReadDomainsOrIPsOrURLs #19

name: GoLicenses
on:
pull_request:
workflow_dispatch:
concurrency:
group: golicenses-${{ github.ref }}
cancel-in-progress: true
jobs:
golicense-pr-scan:
runs-on: ubuntu-latest
steps:
- name: install-git
run: sudo apt-get install -y git
- name: install-golicenses
run: GOBIN=/usr/local/bin go install github.com/google/go-licenses@v1.0.0
- name: checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
with:
go-version: '1.22'
- name: golicense-scan
run: |
go-licenses check ./...