Merge pull request #25 from ChristianTackeGSI/main #18
This file contains 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
# SPDX-FileCopyrightText: 2020 Free Software Foundation Europe e.V. <https://fsfe.org> | |
# | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
name: REUSE Compliance Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
# Use local file to test against itself | |
test-self: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: REUSE version | |
uses: ./ | |
with: | |
args: --version | |
- name: REUSE lint | |
uses: ./ | |
with: | |
args: --include-submodules lint --json | |
- name: REUSE SPDX SBOM | |
uses: ./ | |
with: | |
args: spdx | |
# Use latest major version of the action | |
test-majorversion: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: REUSE Compliance Check | |
uses: fsfe/reuse-action@v2 | |
with: | |
args: lint --json |