build(deps): bump actions/checkout from 3 to 4 #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 現在testは厳密には存在しませんが、 | |
# buildとlintなどをまとめる名前として適切なのはこれだと思います。 | |
# stackで実行するのは確かにtestで、 | |
# 今後パッケージを真面目に開発するならtestも追加します。 | |
name: test | |
on: push | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- id: generate | |
uses: freckle/stack-action/generate-matrix@v4 | |
outputs: | |
stack-yamls: ${{ steps.generate.outputs.stack-yamls }} | |
test: | |
needs: generate | |
strategy: | |
matrix: | |
stack-yaml: ${{ fromJSON(needs.generate.outputs.stack-yamls) }} | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: freckle/stack-action@v4 | |
with: | |
stack-yaml: ${{ matrix.stack-yaml }} | |
- uses: haskell/actions/hlint-setup@v2 | |
- uses: haskell/actions/hlint-run@v2 |