Add minimal example to README

This commit is contained in:
Jared Weakly
2020-04-24 11:57:40 -07:00
parent 120f5dc3eb
commit 68697853e3

View File

@@ -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