@@ -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