Skip to content

Commit

Permalink
Merge pull request #23 from fsfe/ci-expand-tests
Browse files Browse the repository at this point in the history
Improve and expand workflows
  • Loading branch information
mxmehl authored Jul 20, 2023
2 parents 4f28048 + 7247931 commit c1c6c29
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/reuse.yml → .github/workflows/selftest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@

name: REUSE Compliance Check

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:

jobs:
test:
# Use local file to test against itself
test-self:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -18,8 +23,18 @@ jobs:
- name: REUSE lint
uses: ./
with:
args: --include-submodules lint
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@v3
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v2
with:
args: lint --json

0 comments on commit c1c6c29

Please sign in to comment.