Skip to content

Commit

Permalink
Merge pull request #634 from IntersectMBO/mgalazyn/chore/enable-haske…
Browse files Browse the repository at this point in the history
…ll-ci-for-main-branch-push

Enable Haskell CI for `main` branch push trigger
  • Loading branch information
carbolymer authored Mar 5, 2024
2 parents 360265e + da38970 commit 02d4432
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: Haskell CI
on:
merge_group:
pull_request:
push:
# we need this to populate cache for `main` branch to make it available to the child branches, see
# https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache
branches:
- main

jobs:
build:
Expand All @@ -12,7 +17,7 @@ jobs:
fail-fast: false
matrix:
# If you edit these versions, make sure the version in the lonely macos-latest job below is updated accordingly
ghc: ["9.6.4", "9.8.1"]
ghc: ["9.6.4", "9.8.2"]
cabal: ["3.10.2.1"]
os: [windows-latest, ubuntu-latest]
include:
Expand Down Expand Up @@ -61,7 +66,7 @@ jobs:
with:
use-sodium-vrf: true # default is true

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cabal update
run: cabal update
Expand Down Expand Up @@ -149,7 +154,7 @@ jobs:
done
- name: Save Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifacts-${{ matrix.os }}-${{ matrix.ghc }}
path: ./artifacts
Expand Down Expand Up @@ -192,7 +197,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Create Release Tag
id: create_release_tag
Expand Down

0 comments on commit 02d4432

Please sign in to comment.