mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
build parser in separate step
This commit is contained in:
parent
2b8701f3ca
commit
c78fce0172
1 changed files with 13 additions and 1 deletions
14
.github/workflows/ci.yaml
vendored
14
.github/workflows/ci.yaml
vendored
|
|
@ -122,6 +122,18 @@ jobs:
|
||||||
EDIT_KEY: edit
|
EDIT_KEY: edit
|
||||||
uses: docker://demostf/api-test
|
uses: docker://demostf/api-test
|
||||||
|
|
||||||
|
build-parser:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: cachix/install-nix-action@v26
|
||||||
|
- uses: icewind1991/attic-action@v1
|
||||||
|
with:
|
||||||
|
name: ci
|
||||||
|
instance: https://cache.icewind.me
|
||||||
|
authToken: '${{ secrets.ATTIC_TOKEN }}'
|
||||||
|
- run: nix build .#demostf-parser
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -136,7 +148,7 @@ jobs:
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build, api, phpunit]
|
needs: [build, build-parser, api, phpunit]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue