Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Porges authored Sep 21, 2024
1 parent e0856fc commit a9d08b0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
- 'lts'
- 'nightly'

runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Cache stack dir
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-stack-dir
with:
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on: [push]

jobs:
cabal:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache Cabal dir
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cabal
key: ${{ runner.os }}-cabal-${{ hashFiles('*.cabal') }}
Expand All @@ -20,7 +20,7 @@ jobs:
- run: PATH=$HOME/.cabal/bin:$PATH cabal repl --with-ghc=doctest --ghc-options="-XQuasiQuotes -XOverloadedStrings"

stackage:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand All @@ -37,11 +37,12 @@ jobs:
- 'lts-19'
- 'lts-20'
- 'lts-21'
- 'lts-22'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache stack dir
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.stack
key: ${{ runner.os }}-stack-${{ matrix.resolver }}-${{ hashFiles('*.cabal') }}
Expand Down

0 comments on commit a9d08b0

Please sign in to comment.