diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml new file mode 100644 index 0000000..ea8203a --- /dev/null +++ b/.forgejo/workflows/test.yml @@ -0,0 +1,23 @@ +on: [push] +jobs: + build-uberjar: + container: + image: nikolaik/python-nodejs:python3.11-nodejs21 + 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') }}