From 703c698b16f7f6478207d8cd1bac1c3deb4cd565 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 1 Aug 2020 12:49:53 -0700 Subject: [PATCH] ;ci: bump actions/cache from 2 to 2.1 --- .github/workflows/linux.yml | 14 +++++++------- .github/workflows/mac.yml | 14 +++++++------- .github/workflows/push.yml | 14 +++++++------- .github/workflows/windows.yml | 14 +++++++------- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 18e1573c5..7fb72a164 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -74,7 +74,7 @@ jobs: - name: Cache stack global package db id: stack-global - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: ~/.stack key: ${{ runner.os }}-stack-global-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }} @@ -83,7 +83,7 @@ jobs: - name: Cache stack-installed programs in ~/.local/bin id: stack-programs - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: ~/.local/bin key: ${{ runner.os }}-stack-programs-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }} @@ -91,7 +91,7 @@ jobs: ${{ runner.os }}-stack-programs-${{ matrix.plan.ghc }} - name: Cache .stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: .stack-work key: ${{ runner.os }}-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }} @@ -99,7 +99,7 @@ jobs: ${{ runner.os }}-stack-work-${{ matrix.plan.ghc }} - name: Cache hledger-lib/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger-lib/.stack-work key: ${{ runner.os }}-hledger-lib-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger-lib/package.yaml') }} @@ -107,7 +107,7 @@ jobs: ${{ runner.os }}-hledger-lib-stack-work-${{ matrix.plan.ghc }} - name: Cache hledger/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger/.stack-work key: ${{ runner.os }}-hledger-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger/package.yaml') }} @@ -115,7 +115,7 @@ jobs: ${{ runner.os }}-hledger-stack-work-${{ matrix.plan.ghc }} - name: Cache hledger-ui/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger-ui/.stack-work key: ${{ runner.os }}-hledger-ui-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger-ui/package.yaml') }} @@ -123,7 +123,7 @@ jobs: ${{ runner.os }}-hledger-ui-stack-work-${{ matrix.plan.ghc }} - name: Cache hledger-web/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger-web/.stack-work key: ${{ runner.os }}-hledger-web-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger-web/package.yaml') }} diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 8c7022300..8f8609b6f 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -49,7 +49,7 @@ jobs: - name: Cache stack global package db id: stack-global - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: ~/.stack key: ${{ runner.os }}-stack-global-${{ hashFiles('**.yaml') }} @@ -58,7 +58,7 @@ jobs: - name: Cache stack-installed programs in ~/.local/bin id: stack-programs - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: ~/.local/bin key: ${{ runner.os }}-stack-programs-${{ hashFiles('**.yaml') }} @@ -66,7 +66,7 @@ jobs: ${{ runner.os }}-stack-programs - name: Cache .stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: .stack-work key: ${{ runner.os }}-stack-work-${{ hashFiles('**.yaml') }} @@ -74,7 +74,7 @@ jobs: ${{ runner.os }}-stack-work - name: Cache hledger-lib/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger-lib/.stack-work key: ${{ runner.os }}-hledger-lib-stack-work-${{ hashFiles('hledger-lib/package.yaml') }} @@ -82,7 +82,7 @@ jobs: ${{ runner.os }}-hledger-lib-stack-work - name: Cache hledger/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger/.stack-work key: ${{ runner.os }}-hledger-stack-work-${{ hashFiles('hledger/package.yaml') }} @@ -90,7 +90,7 @@ jobs: ${{ runner.os }}-hledger-stack-work - name: Cache hledger-ui/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger-ui/.stack-work key: ${{ runner.os }}-hledger-ui-stack-work-${{ hashFiles('hledger-ui/package.yaml') }} @@ -98,7 +98,7 @@ jobs: ${{ runner.os }}-hledger-ui-stack-work - name: Cache hledger-web/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger-web/.stack-work key: ${{ runner.os }}-hledger-web-stack-work-${{ hashFiles('hledger-web/package.yaml') }} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 2c22ba2ee..b3927c7d2 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -60,7 +60,7 @@ jobs: - name: Cache stack global package db id: stack-global - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: ~/.stack key: ${{ runner.os }}-stack-global-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }} @@ -69,7 +69,7 @@ jobs: - name: Cache stack-installed programs in ~/.local/bin id: stack-programs - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: ~/.local/bin key: ${{ runner.os }}-stack-programs-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }} @@ -77,7 +77,7 @@ jobs: ${{ runner.os }}-stack-programs-${{ matrix.plan.ghc }} - name: Cache .stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: .stack-work key: ${{ runner.os }}-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('**.yaml') }} @@ -85,7 +85,7 @@ jobs: ${{ runner.os }}-stack-work-${{ matrix.plan.ghc }} - name: Cache hledger-lib/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger-lib/.stack-work key: ${{ runner.os }}-hledger-lib-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger-lib/package.yaml') }} @@ -93,7 +93,7 @@ jobs: ${{ runner.os }}-hledger-lib-stack-work-${{ matrix.plan.ghc }} - name: Cache hledger/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger/.stack-work key: ${{ runner.os }}-hledger-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger/package.yaml') }} @@ -101,7 +101,7 @@ jobs: ${{ runner.os }}-hledger-stack-work-${{ matrix.plan.ghc }} - name: Cache hledger-ui/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger-ui/.stack-work key: ${{ runner.os }}-hledger-ui-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger-ui/package.yaml') }} @@ -109,7 +109,7 @@ jobs: ${{ runner.os }}-hledger-ui-stack-work-${{ matrix.plan.ghc }} - name: Cache hledger-web/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger-web/.stack-work key: ${{ runner.os }}-hledger-web-stack-work-${{ matrix.plan.ghc }}-${{ hashFiles('hledger-web/package.yaml') }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d8d31fbfb..026309100 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -38,7 +38,7 @@ jobs: - name: Cache stack global package db id: stack-global-package-db - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: C:\Users\runneradmin\AppData\Roaming\stack\ key: ${{ runner.os }}-appdata-roaming-stack-${{ hashFiles('**.yaml') }} @@ -47,7 +47,7 @@ jobs: - name: Cache stack programs dir # ghc, ghc-included packages and their haddocks, mingw, msys2 id: stack-programs-dir - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: C:\Users\runneradmin\AppData\Local\Programs\stack\ # which files signal a change in stack's global db ? @@ -57,7 +57,7 @@ jobs: ${{ runner.os }}-appdata-local-programs-stack - name: Cache .stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: .stack-work key: ${{ runner.os }}-stack-work-${{ hashFiles('**.yaml') }} @@ -65,7 +65,7 @@ jobs: ${{ runner.os }}-stack-work - name: Cache hledger-lib/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger-lib/.stack-work key: ${{ runner.os }}-hledger-lib-stack-work-${{ hashFiles('hledger-lib/package.yaml') }} @@ -73,7 +73,7 @@ jobs: ${{ runner.os }}-hledger-lib-stack-work - name: Cache hledger/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger/.stack-work key: ${{ runner.os }}-hledger-stack-work-${{ hashFiles('hledger/package.yaml') }} @@ -81,7 +81,7 @@ jobs: ${{ runner.os }}-hledger-stack-work - name: Cache hledger-ui/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger-ui/.stack-work key: ${{ runner.os }}-hledger-ui-stack-work-${{ hashFiles('hledger-ui/package.yaml') }} @@ -89,7 +89,7 @@ jobs: ${{ runner.os }}-hledger-ui-stack-work - name: Cache hledger-web/.stack-work - uses: actions/cache@v2 + uses: actions/cache@v2.1 with: path: hledger-web/.stack-work key: ${{ runner.os }}-hledger-web-stack-work-${{ hashFiles('hledger-web/package.yaml') }}