surplus/.github/workflows/ci.yml

30 lines
540 B
YAML
Raw Normal View History

name: continuous integration
2023-06-16 05:55:00 +00:00
on:
workflow_dispatch:
push:
paths:
- "*.py"
- "**.py"
- "*.lock"
- "pyproject.toml"
2023-06-16 05:55:00 +00:00
jobs:
analyse:
runs-on: ubuntu-latest
steps:
- name: checkout
2024-03-26 19:01:19 +00:00
uses: actions/checkout@v4.1.2
with:
ref: ${{ github.ref }}
2023-06-16 05:55:00 +00:00
2024-03-26 19:01:19 +00:00
- name: install devbox
uses: jetpack-io/devbox-install-action@v0.8.0
2023-06-16 05:55:00 +00:00
- name: build wheel
2023-06-16 05:55:00 +00:00
id: build
2024-03-26 18:46:39 +00:00
run: devbox run hatch build
2023-06-16 05:55:00 +00:00
2024-03-26 18:46:39 +00:00
- name: run checks
run: hatch show check