🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

Commit 09bb4504029d88089f4c9e25d6dcf8175a618f55
Parent: 34168f46c802e14e9322d97b72da99f31887ff85
Author: mcol <mcol@posteo.net>
Date: 2021-11-26 20:15:15 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2021-11-26 20:15:15 +0000

also run ci on mac os

.github/workflows/ci.yaml Modified

@@ -8,7 +8,10 @@
 
 jobs:
   ci:
-    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        os: [ubuntu-latest, macOS-latest]
+    runs-on: ${{ matrix.os }}
 
     steps:
     - uses: actions/checkout@v1
@@ -21,13 +24,13 @@
       env:
         cache-name: cache-stack-modules
       with:
-        path: /home/runner/.stack/
-        key: ${{ hashFiles('**/stack.yaml.lock') }}
+        path: ~/.stack/
+        key: ${{ runner.os }}-${{ hashFiles('**/stack.yaml.lock') }}
 
-    - name: Build
+    - name: Build (${{ runner.os }})
       run: |
         stack --no-terminal --silent build
 
-    - name: Test
+    - name: Test (${{ runner.os }})
       run: |
         bash test/test.sh