Skip to content

Commit

Permalink
Add license-header-checker to tests github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aalexand committed Jul 2, 2024
1 parent 1b84545 commit 7451c56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
uses: actions/checkout@v4
- name: Import environment variables from file
run: cat ".github/env" >> $GITHUB_ENV
- name: Install license-header-checker
run: curl -s https://raw.githubusercontent.com/lluissm/license-header-checker/master/install.sh | bash
- name: Run license check
run: ./bin/license-header-checker -a -r -i testdata ./hack/license_header.txt . go && [[ -z `git status -s` ]]
- name: Setup Go
uses: actions/setup-go@v5
with:
Expand Down
File renamed without changes.

0 comments on commit 7451c56

Please sign in to comment.