Skip to content

Commit

Permalink
ci: add reuse check (#190)
Browse files Browse the repository at this point in the history
* chore(reuse): adopt the new version of the metadata file

* ci: add reuse check
  • Loading branch information
matteo-cristino authored Aug 23, 2024
1 parent 3ee39da commit 79c7e35
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 14 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,20 @@ concurrency:
cancel-in-progress: true

jobs:
reuse:
name: 🚨 reuse
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fsfe/reuse-action@v4

build_and_test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 1
matrix:
node: [ lts/*, current ]

steps:
- name: 🛠️ Prepare pnpm workspace
uses: dyne/pnpm@main
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
!/LICENSE
!/LICENSES/*
!/**/*.license
!/.reuse/dep5
!/REUSE.toml

# shithub
!/.github/workflows/*.yml
Expand Down
12 changes: 0 additions & 12 deletions .reuse/dep5

This file was deleted.

21 changes: 21 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# SPDX-FileCopyrightText: 2024 Dyne.org foundation
#
# SPDX-License-Identifier: AGPL-3.0-or-later

version = 1
SPDX-PackageName = "slangroom"
SPDX-PackageSupplier = "Matteo Cristino <[email protected]>"
SPDX-PackageDownloadLocation = "https://github.com/ForkbombEu/slangroom"

[[annotations]]
path = ["examples/**/*"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2024 Dyne.org foundation"
SPDX-License-Identifier = "AGPL-3.0-or-later"

[[annotations]]
path = ["pkg/pocketbase/test/pb_migrations/*"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2024 Dyne.org foundation"
SPDX-License-Identifier = "AGPL-3.0-or-later"

0 comments on commit 79c7e35

Please sign in to comment.