diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/main.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..a8f85e0 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,15 @@ +name: 'CI' +on: +- 'push' +jobs: + build: + runs-on: 'ubuntu-latest' + steps: + - uses: 'actions/checkout@v1' + - uses: 'mstksg/setup-stack@v1' + - uses: 'actions/cache@v1' + with: + path: '$HOME/.stack' + key: "${{ runner.os }}-v1-stack-${{ hashFiles('stack.yaml') }}" + restore-keys: '${{ runner.os }}-v1-stack' + - run: 'stack build --test' |