Start a grid cache experiment #168
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
name: "Build" | |
on: [pull_request, push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
ghc: [ "ghc925", "ghc944" ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository code | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: List files in the repository | |
run: | | |
ls ${{ github.workspace }} | |
- name: Install nix | |
uses: cachix/install-nix-action@v16 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: build | |
run: | | |
nix build --print-build-logs .#gtk.${{ matrix.ghc }}.hoodle | |
format: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
# ormolu 0.3.0.1 | |
- uses: mrkkrp/ormolu-action@v4 | |
hlint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: rwe/actions-hlint-setup@v1 | |
with: | |
version: '3.3.6' | |
- uses: rwe/actions-hlint-run@v2 | |
with: | |
path: '["coroutine-object/", "types/", "util/", "parser/", "builder/", "render/", "publish/", "core/"]' | |
fail-on: status |