Skip to content

Commit a7b63e0

Browse files
committed
chore: initial GHA configuration
1 parent 47bc8b2 commit a7b63e0

3 files changed

Lines changed: 47 additions & 1 deletion

File tree

‎.github/workflows/tests.yaml‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: tests
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- '*.*.*'
8+
pull_request:
9+
branches:
10+
- main
11+
- '*.*.*'
12+
13+
jobs:
14+
style:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
18+
- name: Install uv
19+
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
20+
with:
21+
enable-cache: true
22+
- name: Run style checks
23+
run: uv run prek run --all-files --show-diff-on-failure

‎pyproject.toml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["uv_build>=0.11.3,<0.12.0"]
2+
requires = ["uv_build>=0.12.16,<0.13.0"]
33
build-backend = "uv_build"
44

55
[project]
@@ -21,6 +21,9 @@ repository = "https://github.com/python-scim/scim2-fastapi"
2121
funding = "https://github.com/sponsors/python-scim"
2222

2323
[dependency-groups]
24+
dev = [
25+
"prek>=0.1.0",
26+
]
2427
doc = [
2528
"myst-parser>=3.0.1",
2629
"shibuya>=2024.5.15",

‎uv.lock‎

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)