Skip to content

Commit

Permalink
Merge pull request #183 from smucclaw/gh-workflows
Browse files Browse the repository at this point in the history
Gh workflows
  • Loading branch information
joewatt95 authored Jul 1, 2024
2 parents e9c3bbc + e0dcc9c commit 69c384a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/stack-based-build.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
name: Build and run tests

on:
pull_request:
branches: [ main ]
push:
# pull_request: # Don't run twice
branches: [ main ]

jobs:
flakes-simple:
strategy:
matrix:
os: [ubuntu-22.04, macos-14, macos-13]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- uses: haskell-actions/setup@v2
with:
enable-stack: true
ghc-version: '9.10.1'
cabal-version: '3.10.3.0'
stack-version: '2.15.7'

- uses: actions/cache@v4
name: Cache ~/.stack
Expand Down

0 comments on commit 69c384a

Please sign in to comment.