Slack log update at Fri Mar 6 21:50:29 2026 #1713
This file contains hidden or 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
| name: Verify | |
| on: | |
| pull_request: null | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| name: ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-18.04, windows-2019] | |
| ghc: ["8.10.4"] # stack.yamlのresolverに合わせて更新してください | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Cache .stack | |
| id: cache-stack | |
| uses: actions/cache@v2.1.4 | |
| with: | |
| path: ~/.stack | |
| key: ${{ runner.os }}-stack-${{ hashFiles('**/package.yaml') }}-${{ hashFiles('**/stack.yaml.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-stack- | |
| - uses: haskell/actions/setup@v1.1.7 | |
| name: Setup Haskell | |
| with: | |
| ghc-version: ${{ matrix.ghc }} | |
| enable-stack: true | |
| stack-version: 'latest' | |
| - name: Install dependencies | |
| run: stack --system-ghc test --only-dependencies | |
| - name: Run test | |
| run: stack --system-ghc test --pedantic |