on master help sign in
mucking with github actions
commit2f97dc1ec9eb1cd1e1caae6b6d128867dec9bf69 authorMark Wotton <mwotton@gmail.com> dateMon 30 Nov 2020, 14:10 (6 years ago) parent4ad2b33
1 file changed+3
.github/workflows/ci.yml+3
.github/workflows/ci.yml+3
@@ -19,6 +19,7 @@ jobs:
1919 if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
2020
2121 - uses: actions/setup-haskell@v1.1.4
22+ if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
2223 name: Setup Haskell Stack
2324 with:
2425 ghc-version: ${{ matrix.ghc }}
@@ -26,11 +27,13 @@ jobs:
2627 enable-stack: true
2728
2829 - uses: actions/cache@v1
30+ if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
2931 name: Cache ~/.stack
3032 with:
3133 path: ~/.stack
3234 key: ${{ runner.os }}-${{ matrix.ghc }}-stack
3335
3436 - name: Test
37+ if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
3538 run: |
3639 stack test