Skip to content

Commit

Permalink
Rev actions/checkout and fix whitespace in example.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Jan 30, 2024
1 parent b7fc06a commit fb272f1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -107,7 +107,7 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./
with:
working-directory: example
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit fb272f1

Please sign in to comment.