Skip to content

Commit

Permalink
ci: Add PR test for copyright headers (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko authored Apr 18, 2023
1 parent 2c96390 commit efa1b71
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ env:
GOPROXY: https://proxy.golang.org/

jobs:
copywrite:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Checkout Repo
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # https://github.com/actions/checkout/releases/tag/v3.5.0
- name: Install copywrite
uses: hashicorp/setup-copywrite@v1.0.0
- name: Validate Header Compliance
run: copywrite headers --plan

test:
runs-on: ${{ matrix.os }}
timeout-minutes: 5
Expand Down

0 comments on commit efa1b71

Please sign in to comment.