Skip to content

Commit d7763ff

Browse files
committed
adapt the GH workflows
Signed-off-by: tdruez <tdruez@aboutcode.org>
1 parent ad8ac4f commit d7763ff

3 files changed

Lines changed: 36 additions & 76 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Run unit tests
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
push:
7+
branches:
8+
- main
9+
10+
jobs:
11+
check-code-and-docs-validation:
12+
runs-on: ubuntu-24.04
13+
permissions:
14+
contents: read
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+
with:
20+
persist-credentials: false # do not keep the token around
21+
22+
- name: Set up Python
23+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
24+
with:
25+
python-version: "3.14"
26+
27+
- name: Install uv from vendored wheel
28+
run: pip install --no-index --find-links=./thirdparty/dist uv
29+
30+
- name: Validate code format
31+
run: make check
32+
33+
- name: Build the documentation
34+
run: make docs

.github/workflows/run-unit-tests.yml

Lines changed: 0 additions & 75 deletions
This file was deleted.

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ DejaCode
33
========
44

55
DejaCode provides an enterprise-level application to automate open source license
6-
compliance and ensure software supply chain integrity, powered by `ScanCode <https://github.com/aboutcode-org/scancode-toolkit>`_,
6+
compliance and ensure software supply chain integrity, powered by
7+
`ScanCode <https://github.com/aboutcode-org/scancode-toolkit>`_,
78
the industry-leading code scanner.
89

910
Why Use DejaCode?

0 commit comments

Comments
 (0)