From fb272f1ddfcb438d254fc0754bee3b1baa721fab Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Tue, 30 Jan 2024 12:00:00 -0500 Subject: [PATCH] Rev actions/checkout and fix whitespace in example.yml --- .github/workflows/example.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 1851164..f448398 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -43,20 +43,20 @@ jobs: runs-on: ${{ matrix.runner }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - id: stack uses: ./ with: working-directory: example stack-arguments: --resolver ${{ matrix.stack.resolver }} cache-prefix: ${{ matrix.stack.resolver }}/ - + - if: matrix.stack.ghc shell: bash run: | [[ "${{ steps.stack.outputs.compiler }}" = ghc-${{ matrix.stack.ghc }} ]] [[ "${{ steps.stack.outputs.compiler-version }}" = ${{ matrix.stack.ghc }} ]] - + - shell: bash run: | # stack path | cut -d: -f1 @@ -89,7 +89,7 @@ jobs: test-generate: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - id: generate uses: ./generate-matrix with: @@ -107,7 +107,7 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./ with: working-directory: example @@ -116,7 +116,7 @@ jobs: test-auto-nightly: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - id: stack uses: ./ with: @@ -127,7 +127,7 @@ jobs: test-auto-nightly-with-explicit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - id: stack uses: ./ with: