Skip to content

Commit

Permalink
Update triggers for Haskell workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mbg committed Jul 12, 2024
1 parent 19f541e commit 97b436f
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@ name: Haskell

on:
push:
branches: [master]
branches:
- master
- main
tags:
- "v*"
paths:
- ".github/workflows/**"
- ".github/workflows/haskell.yml"
- "src/**"
- "package.yaml"
- "stack*.yaml"
pull_request:
branches: [master]
branches:
- master
- main

permissions:
contents: read
Expand All @@ -31,9 +35,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: "Clone repository"
uses: actions/checkout@v4

- uses: mbg/actions/stack/build@v0.1.2
- name: "Build with Stack (${{ matrix.resolver }})"
uses: mbg/actions/stack/build@v0.1.2
with:
resolver: ${{ matrix.resolver }}
upload-docs: true

0 comments on commit 97b436f

Please sign in to comment.