mirror of
https://github.com/curl/curl.git
synced 2026-06-02 05:24:15 +03:00
GHA/checksrc: run reuse directly, merge into the linters workflow
To eliminate dependencies on an Action, Docker Hub and to simplify. Closes #18721
This commit is contained in:
parent
8e13e42583
commit
6796147910
2 changed files with 8 additions and 13 deletions
20
.github/workflows/checksrc.yml
vendored
20
.github/workflows/checksrc.yml
vendored
|
|
@ -43,8 +43,8 @@ jobs:
|
|||
- name: 'check'
|
||||
run: scripts/checksrc-all.pl
|
||||
|
||||
spellcheck-cmakelint-pytype-ruff:
|
||||
name: 'spellcheck, cmakelint, pytype, ruff'
|
||||
linters:
|
||||
name: 'spellcheck, linters, REUSE'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
||||
|
|
@ -61,6 +61,11 @@ jobs:
|
|||
-r tests/http/requirements.txt \
|
||||
-r tests/requirements.txt
|
||||
|
||||
- name: 'REUSE check'
|
||||
run: |
|
||||
source ~/venv/bin/activate
|
||||
reuse lint
|
||||
|
||||
- name: 'codespell'
|
||||
run: |
|
||||
source ~/venv/bin/activate
|
||||
|
|
@ -89,17 +94,6 @@ jobs:
|
|||
source ~/venv/bin/activate
|
||||
scripts/pythonlint.sh
|
||||
|
||||
reuse:
|
||||
name: 'REUSE'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: 'check'
|
||||
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5
|
||||
|
||||
complexity:
|
||||
name: 'complexity'
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue