From ba5587fcda28f376d087f812614b50fc10249d74 Mon Sep 17 00:00:00 2001 From: Alexey Kuleshevich Date: Sun, 4 Feb 2024 16:46:30 +0100 Subject: [PATCH] Update github actions: `checkout` and `cache` --- .github/workflows/ci.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f8d393ce..0bf8ff40 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -49,7 +49,7 @@ jobs: - { cabal: "3.6", os: windows-latest, ghc: "9.0.2" } - { cabal: "3.6", os: windows-latest, ghc: "9.2.2" } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: haskell-actions/setup@v2 id: setup-haskell-cabal @@ -58,7 +58,7 @@ jobs: cabal-version: ${{ matrix.cabal }} - name: Update cabal package database run: cabal update - - uses: actions/cache@v2 + - uses: actions/cache@v4 name: Cache cabal stuff with: path: | @@ -123,7 +123,7 @@ jobs: STACK_ARGS: '--resolver ${{ matrix.resolver }} --system-ghc' cache-version: v4 # bump up this version to invalidate currently stored cache steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: haskell-actions/setup@v2 id: setup-haskell-stack @@ -136,7 +136,7 @@ jobs: - name: Cache id: cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ~/.stack @@ -154,7 +154,7 @@ jobs: rm -r .stack-work - name: Windows Cache id: cache-windows - uses: actions/cache@v2 + uses: actions/cache@v4 if: matrix.os == 'windows-latest' with: path: |