Skip to content

Commit

Permalink
ci: license check
Browse files Browse the repository at this point in the history
  • Loading branch information
justlorain committed Jan 28, 2025
1 parent d6eca1b commit d5448d4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/license-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: License Header Check

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.23

- name: Install NWA
run: go install github.com/B1NARY-GR0UP/nwa@latest

- name: Run License Header Check
run: nwa check -c "BINARY Members" -s "internal/header.go" -f -V "**/*.go"

0 comments on commit d5448d4

Please sign in to comment.