Skip to content

Commit

Permalink
Bump GitHub actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Minoru committed Aug 6, 2023
1 parent 44521de commit af9254b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
ghc: "9.6.1"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'

- uses: haskell/actions/setup@v1
- uses: haskell/actions/setup@v2
id: setup-haskell-cabal
name: Setup Haskell
with:
Expand All @@ -55,7 +55,7 @@ jobs:
cabal update
cabal freeze
- uses: actions/cache@v1
- uses: actions/cache@v3
name: Cache ~/.cabal/store
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
Expand All @@ -79,16 +79,16 @@ jobs:
ghc: ["9.2.5"] # We want this to match the Stackage snapshot in stack.yaml

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'

- uses: haskell/actions/setup@v1
- uses: haskell/actions/setup@v2
name: Setup Haskell Stack
with:
ghc-version: ${{ matrix.ghc }}
stack-version: ${{ matrix.stack }}

- uses: actions/cache@v1
- uses: actions/cache@v3
name: Cache ~/.stack
with:
path: ~/.stack
Expand All @@ -111,10 +111,10 @@ jobs:
ghc: ["9.2.7"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'

- uses: haskell/actions/setup@v1
- uses: haskell/actions/setup@v2
id: setup-haskell-cabal
name: Setup Haskell
with:
Expand All @@ -125,7 +125,7 @@ jobs:
run: |
cabal freeze
- uses: actions/cache@v1
- uses: actions/cache@v3
name: Cache ~/.cabal/store
with:
path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
Expand Down

0 comments on commit af9254b

Please sign in to comment.