Created basic GitHub action.

This commit is contained in:
Wen Kokke 2021-09-01 19:18:10 +01:00
parent af45cdcfdb
commit 703afcac97
No known key found for this signature in database
GPG key ID: 7EB7DBBCEB539DB8

32
.github/build.yml vendored Normal file
View file

@ -0,0 +1,32 @@
on: [push, pull_request]
name: Build
jobs:
build:
runs-on: macOS-latest
strategy:
matrix:
ghc: ['8.10.5']
steps:
- name: Setup Haskell
uses: haskell/actions/setup@v1
with:
ghc-version: ${{ matrix.ghc }}
enable-stack: true
stack-version: 'latest'
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Build website
run: make build
- name: Install HTMLProofer
run: sudo gem install html-proofer
- name: Test website
run: make test