From 68697853e3ae899d54996a4c4d272b60a50a845e Mon Sep 17 00:00:00 2001 From: Jared Weakly Date: Fri, 24 Apr 2020 11:57:40 -0700 Subject: [PATCH] Add minimal example to README --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 0ee164b..349134d 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,21 @@ For all other versions, this action utilizes [`ppa:hvr/ghc`](https://launchpad.n See [action.yml](action.yml) +Minimal: + +```yaml +on: [push] +name: build +jobs: + runhaskell: + name: Hello World + runs-on: ubuntu-latest # or macOS-latest, or windows-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-haskell@v1 + - run: runhaskell Hello.hs +``` + Basic: ```yaml