diff --git a/.github/workflows/selftest.yml b/.github/workflows/selftest.yml index 2eb9bff..70ab458 100644 --- a/.github/workflows/selftest.yml +++ b/.github/workflows/selftest.yml @@ -29,8 +29,16 @@ jobs: with: args: spdx - # Use latest major version of the action - test-majorversion: + # Use all major version of the action + test-v1: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v1 + with: + args: lint + test-v2: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -38,3 +46,11 @@ jobs: uses: fsfe/reuse-action@v2 with: args: lint --json + # test-v3: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - name: REUSE Compliance Check + # uses: fsfe/reuse-action@v3 + # with: + # args: lint --json diff --git a/Dockerfile b/Dockerfile index 864a71c..4002e2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # # SPDX-License-Identifier: GPL-3.0-or-later -FROM fsfe/reuse:2 +FROM fsfe/reuse:3 # Copy reuse wrapper used as entrypoint COPY reuse-action-wrapper.sh /bin/reuse-action-wrapper diff --git a/README.md b/README.md index 8643af3..b9fcd3b 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: REUSE Compliance Check - uses: fsfe/reuse-action@v2 + uses: fsfe/reuse-action@v3 ``` If you would like to run other subcommands, you could use the following snippet which outputs a the SPDX bill of materials: @@ -49,7 +49,7 @@ If you would like to run other subcommands, you could use the following snippet ```yml - uses: actions/checkout@v4 - name: REUSE SPDX SBOM - uses: fsfe/reuse-action@v2 + uses: fsfe/reuse-action@v3 with: args: spdx ``` @@ -59,7 +59,7 @@ In the same fashion, it is possible to add optional arguments like `--include-su ```yml - uses: actions/checkout@v4 - name: REUSE Compliance Check - uses: fsfe/reuse-action@v2 + uses: fsfe/reuse-action@v3 with: args: --include-submodules lint ```