This commit is contained in:
parent
d23818e318
commit
89e905b88e
1 changed files with 24 additions and 0 deletions
24
.forgejo/workflows/test.yml
Normal file
24
.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
build-uberjar:
|
||||
container:
|
||||
image: python3.11-nodejs21:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
||||
- name: Restore poetry project dependencies
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: ~/.cache/pypoetry
|
||||
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
|
||||
|
||||
- name: Install poetry
|
||||
run: |
|
||||
pip install poetry
|
||||
|
||||
- name: Cache poetry project dependencies
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: ~/.cache/pypoetry
|
||||
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
|
Loading…
Reference in a new issue