Align with the OSC Documentation Policy #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |