Skip to content

Align with the OSC Documentation Policy #25

Align with the OSC Documentation Policy

Align with the OSC Documentation Policy #25

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"