We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0e8544 commit 3baa1e8Copy full SHA for 3baa1e8
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,38 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
7
+concurrency:
8
+ group: frc-ci-${{ github.ref }}
9
+ cancel-in-progress: true
10
11
+permissions:
12
+ contents: read
13
14
+jobs:
15
+ ruff:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v4
19
20
+ - uses: actions/setup-python@v5
21
+ with:
22
+ python-version: "3.12"
23
24
+ - name: Ruff (Python linter and code formatter)
25
+ run: |
26
+ curl -LsSf https://astral.sh/uv/install.sh | sh
27
+ uv tool install ruff@latest
28
+ ruff check
29
30
+ - name: MyPy(Static Typing for Python)
31
32
+ python3 -m pip install -U mypy
33
+ mypy ./
34
35
+ - name: Python build
36
37
+ python3 -m build
38
0 commit comments