2024-03-26 09:52:53 +00:00
|
|
|
name: continuous integration
|
2023-06-16 05:55:00 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
2024-03-26 09:52:53 +00:00
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- "*.py"
|
|
|
|
- "**.py"
|
|
|
|
- "*.lock"
|
|
|
|
- "pyproject.toml"
|
2023-06-16 05:55:00 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
analyse:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: install devbox
|
2023-10-14 20:06:30 +00:00
|
|
|
uses: jetpack-io/devbox-install-action@v0.7.0
|
2023-06-16 05:55:00 +00:00
|
|
|
|
2023-09-03 14:23:40 +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
|