Skip to content

Commit

Permalink
use new test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Apr 26, 2024
1 parent a8c042e commit 23bf487
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/ci.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: test

on:
push:
branches:
- master
- main
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- uses: cachix/install-nix-action@v26
- uses: DeterminateSystems/magic-nix-cache-action@v4
- name: Ensure flake.lock was committed
run: ls flake.lock
- run: nix flake check -L
- run: nix build -L
- run: glistix deps download
shell: nix develop --command bash -e {0}
- run: glistix test
shell: nix develop --command bash -e {0}
- run: glistix format --check src test
shell: nix develop --command bash -e {0}

0 comments on commit 23bf487

Please sign in to comment.