Skip to content

feat: Update go-licenses, add CI (#2) #7

feat: Update go-licenses, add CI (#2)

feat: Update go-licenses, add CI (#2) #7

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run Test
run: go install github.com/google/go-licenses/v2 && go test ./...