Skip to content

Plutus 1.28

Plutus 1.28 #16

name: Build DevContainer
on:
workflow_dispatch:
pull_request:
jobs:
build-devcontainer:
name: Build DevContainer
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Build Project With Docker
run: |
# Note: the -i flag in "bash -ic" is necessary and causes bash to
# "source ~/.bashrc" which correctly populates the env.
docker run \
-v ./.:/workspaces/plutus-tx-template \
-w /workspaces/plutus-tx-template \
-i ghcr.io/input-output-hk/devx-devcontainer:x86_64-linux.ghc96-iog \
bash -ic "cabal update && cabal run plutus-tx-template && test -e validator.uplc"