Skip to content

Commit

Permalink
missing pack switches
Browse files Browse the repository at this point in the history
  • Loading branch information
joelberkeley committed Jan 5, 2024
1 parent 27a4687 commit 388bca9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Type-check README
run: pack --no-prompt typecheck readme.ipkg
run: |
pack switch HEAD
pack --no-prompt typecheck readme.ipkg
tutorials:
runs-on: ubuntu-latest
container: ghcr.io/stefan-hoeck/idris2-pack
steps:
- uses: actions/checkout@v3
- name: Type-check tutorials
run: res=0; for f in tutorials/*.ipkg; do pack --no-prompt typecheck $f || res=$?; done; $(exit $res)
run: |
pack switch HEAD
res=0; for f in tutorials/*.ipkg; do pack --no-prompt typecheck $f || res=$?; done; $(exit $res)
1 change: 1 addition & 0 deletions .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: |
pack switch HEAD
pack --no-prompt --with-docs install spidr
mv build/docs .
- run: |
Expand Down

0 comments on commit 388bca9

Please sign in to comment.