Skip to content

Commit

Permalink
ci: simplify yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
pnmadelaine committed Oct 13, 2023
1 parent 33e3ba5 commit 415bd38
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,10 @@ jobs:
with:
name: typhon
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build typhon
run: nix build -L
- name: Build typhon-webapp
run: nix build -L .#typhon-webapp
- name: Run API tests
run: nix build -L .#checks.x86_64-linux.api
- name: Check formatting
run: nix build -L .#checks.x86_64-linux.formatted
- run: nix build -L
- run: nix build -L .#typhon-webapp
- run: nix build -L .#checks.x86_64-linux.api
- run: nix build -L .#checks.x86_64-linux.formatted
legacy:
runs-on: ubuntu-latest
steps:
Expand All @@ -34,11 +30,7 @@ jobs:
with:
name: typhon
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build typhon
run: nix-build nix/packages -A typhon
- name: Build typhon-webapp
run: nix-build nix/packages -A typhon-webapp
- name: Run API tests
run: nix-build nix/checks -A api
- name: Check formatting
run: nix-build nix/checks -A formatted
- run: nix-build nix/packages -A typhon
- run: nix-build nix/packages -A typhon-webapp
- run: nix-build nix/checks -A api
- run: nix-build nix/checks -A formatted

0 comments on commit 415bd38

Please sign in to comment.