Skip to content

Check for SPDX license identifiers on CI #10

Check for SPDX license identifiers on CI

Check for SPDX license identifiers on CI #10

Workflow file for this run

name: Check license
on:
pull_request:
# This ignore list does not cover the entire set of irrelevant files, but it
# saves resources in many cases.
paths-ignore:
- '.github/**'
- '*.md'
- '**/*.lock'
- '**/*.json'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: tj-actions/changed-files@v45
id: changed-files
- uses: cachix/install-nix-action@v30
- run: nix profile install nixpkgs#reuse
- name: Check license
run: 'reuse lint-file ${{ steps.changed-files.outputs.all_changed_files }}'