Skip to content

chore: bump actions/upload-artifact from 4.3.0 to 4.3.1 (#383) #1

chore: bump actions/upload-artifact from 4.3.0 to 4.3.1 (#383)

chore: bump actions/upload-artifact from 4.3.0 to 4.3.1 (#383) #1

name: Verify License
on:
workflow_dispatch:
push:
branches: ['main', 'release-*']
pull_request:
permissions:
contents: read
jobs:
license-check:
name: license boilerplate check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '1.18.x'
- name: Install addlicense
run: go install github.com/google/[email protected]
- name: Check license headers
run: |
set -e
addlicense --check -l apache -c 'The Witness Contributors' -v *