Fail build if embedded ImportExcel module is missing #103
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: License Header Check | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - 'main' | |
| paths: | |
| - 'MilestonePSTools/**/*.ps1' | |
| - 'src/**/*.cs' | |
| jobs: | |
| CheckLicenseHeaders: | |
| name: Check License Headers | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.23 | |
| cache: false | |
| - name: Install NWA | |
| run: go install github.com/B1NARY-GR0UP/nwa@v0.7.2 | |
| - name: Run License Header Check | |
| run: nwa check -l apache -c "Milestone Systems A/S" -y 2025 --fuzzy -k "Licensed under the Apache License" --skip "src/MilestonePSTools/obj/**" "MilestonePSTools/**/*.ps1" "src/**/*.cs" |