Skip to content

Commit 7e24520

Browse files
fix wf?
1 parent 2c78566 commit 7e24520

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/_test-units.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686
run: |
8787
python -m pip install pip
8888
pip install -e .[test]
89+
pip uninstall -y pypdfium2 pillow
8990
9091
- name: Unit testing with pytest
9192
run: |
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Lint workflows
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- '.github/workflows/**'
7+
push:
8+
branches: [main]
9+
10+
jobs:
11+
actionlint:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Run actionlint
16+
uses: docker://rhysd/actionlint:latest
17+
with:
18+
args: -color

.github/workflows/pull-request.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ permissions:
88
pull-requests: read
99

1010
jobs:
11+
workflow-lint:
12+
uses: ./.github/workflows/_workflow_lint.yml
1113
static-analysis:
1214
uses: ./.github/workflows/_static-analysis.yml
15+
needs: workflow-lint
1316
test-units:
1417
uses: ./.github/workflows/_test-units.yml
1518
needs: static-analysis

0 commit comments

Comments
 (0)