parent
cc7184e453
commit
a1851d03c5
1 changed files with 28 additions and 0 deletions
28
.forgejo/workflows/build.yaml
Normal file
28
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
name: Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
test:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: alpine:latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- run: apk add nodejs git python3 uv ruff
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: check uv.lock
|
||||||
|
run: |
|
||||||
|
uv sync
|
||||||
|
git diff --exit-code uv.lock
|
||||||
|
|
||||||
|
- name: ruff check
|
||||||
|
run: uv run ruff check
|
||||||
|
|
||||||
|
- name: ruff format
|
||||||
|
run: uv run ruff format --diff --check
|
Loading…
Add table
Add a link
Reference in a new issue