We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44a70fc commit 4f98362Copy full SHA for 4f98362
1 file changed
.github/workflows/lint-imports.yml
@@ -0,0 +1,34 @@
1
+name: lint-imports
2
+
3
+on:
4
+ workflow_call:
5
+ workflow_dispatch:
6
+ push:
7
+ branches: ["main", "tester/*"]
8
+ pull_request:
9
+ branches: ["main"]
10
11
+jobs:
12
+ lint-imports:
13
+ runs-on: ubuntu-latest
14
15
+ env:
16
+ INTERPRETER: python
17
+ PIP: python -m pip
18
19
+ steps:
20
+ - uses: actions/checkout@v3
21
+ - name: Set Up Python 3.13
22
+ uses: actions/setup-python@v3
23
+ with:
24
+ python-version: "3.13"
25
+ - name: Install uv
26
+ run: make install-uv
27
+ - name: Create virtual environment
28
+ run: uv venv
29
+ - name: Install local package
30
+ run: make install-local-package
31
+ - name: Install import-linter
32
+ run: make install-import-linter
33
+ - name: Lint imports
34
+ run: make lint-imports
0 commit comments