diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 906cba9e..655057d6 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -12,13 +12,13 @@ jobs: run: | choco install -y haskell-stack choco install -y r --version 4.0.0 - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Get Stack snapshot install directory id: stack-snapshot run: | stack path --snapshot-install-root echo "::set-output name=dir::$(stack path --snapshot-install-root)" - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: path: ${{ steps.stack-snapshot.outputs.dir }} key: ${{ steps.stack-snapshot.outputs.dir }}-${{ hashFiles('**/*.cabal') }} @@ -37,8 +37,8 @@ jobs: stack_yaml: [stack.yaml, stack-lts-18.yaml, stack-lts-19.yaml] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: cachix/install-nix-action@v15 + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v24 with: nix_path: nixpkgs=./nixpkgs.nix - name: Install Stack @@ -52,7 +52,7 @@ jobs: [ ${{ matrix.stack_yaml }} = stack.yaml ] || mv ${{ matrix.stack_yaml }} stack.yaml stack --nix path --snapshot-install-root echo "::set-output name=dir::$(stack --nix path --snapshot-install-root)" - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: ${{ steps.stack-snapshot.outputs.dir }} key: ${{ steps.stack-snapshot.outputs.dir }}-${{ hashFiles('**/*.cabal') }}