Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
container:
# Idris 2 0.7.0, pinned by immutable image digest.
# Idris 2 0.8.0, pinned by immutable image digest.
# The digest is the authority; keep the version note in step with it.
image: ghcr.io/stefan-hoeck/idris2-pack@sha256:de9781906050dc44704ec6de0108c86f899ef17b2642932b79e00245d613b8ad
steps:
- name: Checkout
Expand Down Expand Up @@ -54,8 +55,8 @@ jobs:
ver="$(idris2 --version)"
echo "idris2 --version -> ${ver}"
case "$ver" in
*"0.7.0"*) ;;
*) echo "::error::expected Idris 2 0.7.0, got: ${ver}"; exit 1 ;;
*"0.8.0"*) ;;
*) echo "::error::expected Idris 2 0.8.0, got: ${ver}"; exit 1 ;;
esac
idris2 --typecheck abi.ipkg

Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ jobs:
shell: bash
run: |
set -euo pipefail
idris2 --version | grep -Fx 'Idris 2, version 0.7.0'
# Same fix as ci.yml: never assert through a pipe under pipefail.
ver="$(idris2 --version)"
echo "idris2 --version -> ${ver}"
case "$ver" in
*"0.8.0"*) ;;
*) echo "::error::expected Idris 2 0.8.0, got: ${ver}"; exit 1 ;;
esac
idris2 --typecheck abi.ipkg
(
cd src/interface/ffi
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
# elixir 1.18.0
# erlang 27.2
# zig 0.14.0
# idris2 0.7.0
# idris2 0.8.0
rust nightly
Loading