Skip to content

Commit

Permalink
ci: added github.com/google/addlicense
Browse files Browse the repository at this point in the history
  • Loading branch information
bkrukowski committed Mar 2, 2024
1 parent 9225138 commit 54a7009
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/addlicense.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Addlicense
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Addlicense
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: [ '1.22' ]
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- run: go install github.com/google/addlicense@v1.1.1

- name: Addlicense
run: make addlicense-check

0 comments on commit 54a7009

Please sign in to comment.