Skip to content

Commit

Permalink
use pack DB HEAD in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
joelberkeley committed Jan 5, 2024
1 parent c1bde4a commit 27a4687
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ jobs:
./install_bazel.sh
./build.sh cpu
- name: Build tests
run: pack --no-prompt build test.ipkg
run: |
pack switch HEAD
pack --no-prompt build test.ipkg
- name: Run tests
run: pack run test.ipkg
env:
Expand Down
6 changes: 0 additions & 6 deletions src/Util.idr
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,6 @@ namespace List
inBoundsCons _ InFirst = InFirst
inBoundsCons (_ :: ys) (InLater prf) = InLater (inBoundsCons ys prf)

||| Concatenate lists of proofs.
public export
(++) : All p xs -> All p ys -> All p (xs ++ ys)
[] ++ pys = pys
(px :: pxs) ++ pys = px :: (pxs ++ pys)

||| Apply a function to the environment of a reader.
export
(>$<) : (env' -> env) -> Reader env a -> Reader env' a
Expand Down

0 comments on commit 27a4687

Please sign in to comment.