zona/.forgejo/workflows/test.yml
Daniel Fichtinger 4cef77e4e0
All checks were successful
/ test-build (push) Successful in 21s
ci: added test with cache
2025-07-16 01:17:23 -04:00

21 lines
645 B
YAML

# this workflow checks if the project can be built successfully.
# it also serves to test whether based-alpine and uv-cache are working properly.
# Unit tests will be added here eventually
on: [push]
jobs:
test-build:
runs-on: based-alpine
steps:
- name: checkout source
uses: actions/checkout@v4
- name: setup cache
id: uv-cache
uses: https://git.ficd.sh/ficd/uv-cache@v1
- name: Check cache status
run: |
echo "Cache hit? ${{ steps.uv-cache.outputs.cache-hit }}"
- name: sync and build
run: |
uv sync
uv build
uv run zona --help