Skip to content

treefmt: Ensure all Haskell files are formatted with ormolu #12

treefmt: Ensure all Haskell files are formatted with ormolu

treefmt: Ensure all Haskell files are formatted with ormolu #12

Workflow file for this run

# © 2019-2023 Serokell <[email protected]>
# © 2019-2023 Lars Jellema <[email protected]>
#
# SPDX-License-Identifier: MPL-2.0
name: CI
on:
pull_request:
push:
branches:
- master
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
- name: reuse lint
run: nix-build -A packages.reuse && result/bin/reuse lint
- name: hlint
run: nix-build -A checks.hlint
- name: treefmt
run: nix-build -A checks.treefmt
- name: build nixfmt
run: nix-build
if: success() || failure()
- name: run tests
run: nix-shell --run ./test/test.sh