Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to reuse-tool v3 #28

Merged
merged 2 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/workflows/selftest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,28 @@ 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
- name: REUSE Compliance Check
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ 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:

```yml
- uses: actions/checkout@v4
- name: REUSE SPDX SBOM
uses: fsfe/reuse-action@v2
uses: fsfe/reuse-action@v3
with:
args: spdx
```
Expand All @@ -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
```
Expand Down