Skip to content
Open
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
7 changes: 2 additions & 5 deletions .github/workflows/check-go-dependencies-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- ".licenses/**"
- ".licensed.json"
- ".licensed.ya?ml"
- "debian/arduino-cli/usr/share/doc/arduino-cli/copyright"
- "Taskfile.ya?ml"
- "**/.gitmodules"
- "**/go.mod"
Expand All @@ -24,6 +25,7 @@ on:
- ".licenses/**"
- ".licensed.json"
- ".licensed.ya?ml"
- "debian/arduino-cli/usr/share/doc/arduino-cli/copyright"
- "Taskfile.ya?ml"
- "**/.gitmodules"
- "**/go.mod"
Expand Down Expand Up @@ -139,8 +141,3 @@ jobs:

- name: Check for dependencies with unapproved licenses
run: task --silent general:check-dep-licenses

- name: Check debian copyright file
run: |
task update-deb-copyright
git diff --color --exit-code
11 changes: 0 additions & 11 deletions .github/workflows/check-license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ jobs:
with:
ruby-version: ruby # Install latest version

- name: Install Task
uses: arduino/setup-task@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
version: 3.x

- name: Install licensee
run: gem install licensee

Expand All @@ -71,8 +65,3 @@ jobs:
fi

exit $EXIT_STATUS

- name: Check debian copyright file
run: |
task update-deb-copyright
git diff --color --exit-code
3 changes: 2 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ includes:
dist: ./DistTasks.yml

tasks:
update-deb-copyright:
general:update-deb-copyright:
desc: Extract project and dependency licenses into debian copyright
cmds:
- |
Expand Down Expand Up @@ -57,6 +57,7 @@ tasks:
exit 1
fi
- licensed cache
- task: general:update-deb-copyright

# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-dependencies-task/Taskfile.yml
general:check-dep-licenses:
Expand Down
Loading