Build and test with ghc 9.10.1 #251
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
name: CI | |
on: | |
push: | |
branches: [ master ] | |
tags: [ "*" ] | |
pull_request: | |
jobs: | |
markdown-link-check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@master | |
- name: Check links | |
uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
with: | |
use-verbose-mode: 'yes' | |
file-path: './README.md' | |
formatting: | |
runs-on: ubuntu-22.04 | |
name: Check formatting | |
steps: | |
- uses: actions/[email protected] | |
- name: Install nix | |
uses: cachix/install-nix-action@v18 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- run: nix flake check | |
testing: | |
runs-on: ubuntu-22.04 | |
name: Run test suites | |
steps: | |
- uses: actions/[email protected] | |
- name: Install nix | |
uses: cachix/install-nix-action@v18 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- name: Test backends | |
run: nix develop .#lightweight --command cabal test all |