ci: add job 'lic-headers'

This commit is contained in:
umarcor 2022-09-15 00:06:49 +01:00
parent 68ce1131c6
commit 3066042dee

View file

@ -9,6 +9,25 @@ env:
jobs:
lic-headers:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: >-
docker run
-v $(pwd):/wrk -w /wrk
ghcr.io/google/addlicense
-c 'The Cobra Authors'
-y '2013-2022'
-l apache
-ignore '.github/**'
-check
.
golangci-lint:
runs-on: ubuntu-latest
steps:
@ -28,6 +47,7 @@ jobs:
version: latest
args: --verbose
test-unix:
strategy:
fail-fast: false
@ -63,6 +83,7 @@ jobs:
- run: RICHGO_FORCE_COLOR=1 PATH=$HOME/go/bin/:$PATH make test
test-win:
name: MINGW64
defaults: