Skip to content

Commit

Permalink
try to fix stack workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oxarbitrage committed Jan 17, 2024
1 parent 303a365 commit 3865c11
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,24 @@ on:
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build:
name: stack ${{ matrix.plan.resolver }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
plan:
- { build: stack, resolver: "lts-15" }
#- { build: stack, resolver: "lts-16" }
#- { build: stack, resolver: "nightly" }

runs-on: ${{ matrix.os }}
os: [ubuntu-latest, macos-latest]
steps:
- name: Install OS Packages
uses: mstksg/get-package@v1
- uses: actions/checkout@v3
- uses: haskell-actions/setup@v2
with:
apt-get: ${{ matrix.apt-get }}
brew: ${{ matrix.brew }}
- uses: actions/checkout@v1

- name: Setup stack
uses: mstksg/setup-stack@v1
ghc-version: '9.2.5'
enable-stack: true
stack-version: 'latest'

# install z3
- name: Setup Z3
id: z3
uses: cda-tum/setup-z3@v1
Expand Down Expand Up @@ -63,4 +58,4 @@ jobs:
set +ex
env:
ARGS: ${{ matrix.plan.resolver }}
BUILD: ${{ matrix.plan.build }}
BUILD: ${{ matrix.plan.build }}

0 comments on commit 3865c11

Please sign in to comment.