Skip to content

Commit 30ac1fb

Browse files
ci(github): fix workflows
1 parent ec73a45 commit 30ac1fb

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed
Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: build
1+
name: docs
22
on: [push, pull_request]
33

44
permissions:
55
contents: write
66

77
jobs:
8-
build:
8+
docs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout repository
@@ -18,10 +18,7 @@ jobs:
1818
python-version: 3
1919

2020
- name: Install dependencies
21-
run: pip install -e .[build]
22-
23-
- name: Generate packages
24-
run: python3 -m build
21+
run: pip install -e .[docs]
2522

2623
- name: Build docs
2724
run: pdoc src/python_package_template/ -o docs

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
python-version: 3
1919

2020
- name: Install dependencies
21-
run: pip install -e .[test]
21+
run: pip install -e .[lint]
2222

2323
- name: Run Black
2424
run: black --check .

0 commit comments

Comments
 (0)