Skip to content

Bump actions/cache from 4.0.1 to 4.0.2 (#43) #85

Bump actions/cache from 4.0.1 to 4.0.2 (#43)

Bump actions/cache from 4.0.1 to 4.0.2 (#43) #85

Workflow file for this run

# Runs on pull requests against master, and on master branch
name: Haskell Tests
on:
push:
branches:
- master
pull_request:
branches: [ master ]
paths:
- '.github/workflows/haskell.yml'
- 'stack*.yaml'
- 'parthenon.cabal'
- 'app/**'
- 'src/**'
- 'test/**'
jobs:
parthenon:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
- os: ubuntu-latest
- os: windows-latest
steps:
# setup:
- name: Check out
uses: actions/checkout@v4
- name: Setup Haskell
id: setup-haskell-cabal
uses: haskell/actions/setup@v2
with:
ghc-version: '8.10'
enable-stack: true
- name: Update Cabal Index
run: cabal update
- name: Freeze
run: cabal freeze
# cache
- name: Cache store
uses: actions/cache@v4.0.2
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
key: ${{ runner.os }}-${{ hashFiles('cabal.project.freeze') }}
#actions
- name: Test
run: stack test