summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2020-02-26 16:01:23 +0100
committerGitHub <noreply@github.com>2020-02-26 16:01:23 +0100
commite0e2e58551b2a5090820804d771013bd96d187ac (patch)
tree6b4b6015826e1b6b98a214e7eff1d5e970ccad23 /.github
parent1cb23e092b3c9dc2bcfe435254223ee43e10452e (diff)
downloadhakyll-e0e2e58551b2a5090820804d771013bd96d187ac.tar.gz
Replace CircleCI with GitHub Actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml15
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'