This commit is contained in:
parent
8ad8bad438
commit
1ee879082f
2 changed files with 40 additions and 0 deletions
14
.forgejo/workflows/uv.yml
Normal file
14
.forgejo/workflows/uv.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
test-build:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install uv
|
||||
uses: 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!"
|
Loading…
Add table
Add a link
Reference in a new issue