14 lines
391 B
YAML
14 lines
391 B
YAML
on: [push]
|
|
jobs:
|
|
test-uv-action:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install uv
|
|
uses: https://github.com/astral-sh/setup-uv@v6
|
|
with:
|
|
enable-cache: true
|
|
- run: uv sync && uv build
|
|
- name: test cache restored
|
|
if: steps.setup-uv.outputs.cache-hit == 'true'
|
|
run: echo "Cache was restored!"
|