Skip to content

Commit 3baa1e8

Browse files
committed
feat: added intial git action ci
1 parent e0e8544 commit 3baa1e8

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
run: |
32+
python3 -m pip install -U mypy
33+
mypy ./
34+
35+
- name: Python build
36+
run: |
37+
python3 -m build
38+

0 commit comments

Comments
 (0)