Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing license headers #1809

Merged
merged 3 commits into from
Sep 16, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
ci: add job 'lic-headers'
  • Loading branch information
umarcor committed Sep 16, 2022
commit 3066042deedc291b953656530889694a876a8cda
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -28,6 +47,7 @@ jobs:
version: latest
args: --verbose


test-unix:
strategy:
fail-fast: false
Expand Down Expand Up @@ -63,6 +83,7 @@ jobs:

- run: RICHGO_FORCE_COLOR=1 PATH=$HOME/go/bin/:$PATH make test


test-win:
name: MINGW64
defaults:
Expand Down