diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index f894ef0b9..0f3355bfb 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -63,7 +63,7 @@ jobs: - name: Cache stack global package db id: stack-global - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.stack key: ${{ runner.os }}-stack-global-${{ matrix.plan.key }}-${{ hashFiles('**.yaml') }} @@ -73,7 +73,7 @@ jobs: - name: Cache stack-installed programs in ~/.local/bin id: stack-programs - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.local/bin key: ${{ runner.os }}-stack-programs-${{ matrix.plan.key }}-${{ hashFiles('**.yaml') }} @@ -83,7 +83,7 @@ jobs: # stack's local package dbs for the project and each package - name: Cache .stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: .stack-work key: ${{ runner.os }}-stack-work-${{ matrix.plan.key }}-${{ hashFiles('**.yaml') }} @@ -92,7 +92,7 @@ jobs: ${{ runner.os }}-stack-work - name: Cache hledger-lib/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger-lib/.stack-work key: ${{ runner.os }}-hledger-lib-stack-work-${{ matrix.plan.key }}-${{ hashFiles('hledger-lib/package.yaml') }} @@ -101,7 +101,7 @@ jobs: ${{ runner.os }}-hledger-lib-stack-work - name: Cache hledger/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger/.stack-work key: ${{ runner.os }}-hledger-stack-work-${{ matrix.plan.key }}-${{ hashFiles('hledger/package.yaml') }} @@ -110,7 +110,7 @@ jobs: ${{ runner.os }}-hledger-stack-work - name: Cache hledger-ui/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger-ui/.stack-work key: ${{ runner.os }}-hledger-ui-stack-work-${{ matrix.plan.key }}-${{ hashFiles('hledger-ui/package.yaml') }} @@ -119,7 +119,7 @@ jobs: ${{ runner.os }}-hledger-ui-stack-work - name: Cache hledger-web/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger-web/.stack-work key: ${{ runner.os }}-hledger-web-stack-work-${{ matrix.plan.key }}-${{ hashFiles('hledger-web/package.yaml') }} diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 9765c8c10..ad8e0cd82 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -35,7 +35,7 @@ jobs: - name: Cache stack global package db id: stack-global - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.stack key: ${{ runner.os }}-stack-global-${{ hashFiles('**.yaml') }} @@ -45,7 +45,7 @@ jobs: - name: Cache stack-installed programs in ~/.local/bin id: stack-programs - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ~/.local/bin key: ${{ runner.os }}-stack-programs-${{ hashFiles('**.yaml') }} @@ -55,31 +55,31 @@ jobs: # stack's local package dbs for the project and each package - name: Cache .stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: .stack-work key: ${{ runner.os }}-stack-work - name: Cache hledger-lib/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger-lib/.stack-work key: ${{ runner.os }}-hledger-lib-stack-work - name: Cache hledger/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger/.stack-work key: ${{ runner.os }}-hledger-stack-work - name: Cache hledger-ui/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger-ui/.stack-work key: ${{ runner.os }}-hledger-ui-stack-work - name: Cache hledger-web/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger-web/.stack-work key: ${{ runner.os }}-hledger-web-stack-work diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 1cbcd3683..ccbb52930 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -48,7 +48,7 @@ jobs: - name: Cache stack global package db id: stack-global - uses: actions/cache@v1 + uses: actions/cache@v2 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@v1 + uses: actions/cache@v2 with: path: ~/.local/bin key: ${{ runner.os }}-stack-programs-${{ hashFiles('**.yaml') }} @@ -68,35 +68,35 @@ jobs: # stack's local package dbs for the project and each package - name: Cache .stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: .stack-work key: ${{ runner.os }}-stack-work-${{ hashFiles('**.yaml') }} restore-keys: ${{ runner.os }}-stack-work - name: Cache hledger-lib/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger-lib/.stack-work key: ${{ runner.os }}-hledger-lib-stack-work-${{ hashFiles('hledger-lib/package.yaml') }} restore-keys: ${{ runner.os }}-hledger-lib-stack-work - name: Cache hledger/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger/.stack-work key: ${{ runner.os }}-hledger-stack-work-${{ hashFiles('hledger/package.yaml') }} restore-keys: ${{ runner.os }}-hledger-stack-work - name: Cache hledger-ui/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger-ui/.stack-work key: ${{ runner.os }}-hledger-ui-stack-work-${{ hashFiles('hledger-ui/package.yaml') }} restore-keys: ${{ runner.os }}-hledger-ui-stack-work - name: Cache hledger-web/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger-web/.stack-work key: ${{ runner.os }}-hledger-web-stack-work-${{ hashFiles('hledger-web/package.yaml') }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 01d0d2cdb..69c710c3b 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -36,7 +36,7 @@ jobs: - name: Cache stack global package db id: stack-global-package-db - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: C:\Users\runneradmin\AppData\Roaming\stack\ key: ${{ runner.os }}-appdata-roaming-stack-${{ hashFiles('**.yaml') }} @@ -49,7 +49,7 @@ jobs: - name: Cache stack programs dir # ghc, ghc-included packages and their haddocks, mingw, msys2 id: stack-programs-dir - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: C:\Users\runneradmin\AppData\Local\Programs\stack\ # which files signal a change in stack's global db ? @@ -64,35 +64,35 @@ jobs: # stack's local package dbs for the project and each package - name: Cache .stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: .stack-work key: ${{ runner.os }}-stack-work-${{ hashFiles('**.yaml') }} restore-keys: ${{ runner.os }}-stack-work - name: Cache hledger-lib/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger-lib/.stack-work key: ${{ runner.os }}-hledger-lib-stack-work-${{ hashFiles('hledger-lib/package.yaml') }} restore-keys: ${{ runner.os }}-hledger-lib-stack-work - name: Cache hledger/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger/.stack-work key: ${{ runner.os }}-hledger-stack-work-${{ hashFiles('hledger/package.yaml') }} restore-keys: ${{ runner.os }}-hledger-stack-work - name: Cache hledger-ui/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger-ui/.stack-work key: ${{ runner.os }}-hledger-ui-stack-work-${{ hashFiles('hledger-ui/package.yaml') }} restore-keys: ${{ runner.os }}-hledger-ui-stack-work - name: Cache hledger-web/.stack-work - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: hledger-web/.stack-work key: ${{ runner.os }}-hledger-web-stack-work-${{ hashFiles('hledger-web/package.yaml') }}