Skip to content

fix(test): failing yaml conversion #92

fix(test): failing yaml conversion

fix(test): failing yaml conversion #92

Workflow file for this run

---
name: "Tests"
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
checks:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Enable cache for Nix
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Run Nix checks
run: nix flake check
- name: Build with Nix (runs tests)
run: nix build
default-ghc:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
- name: Enable cache for Nix
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Build default package with Nix
run: nix build
ghc-94:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
- name: Enable cache for Nix
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Build package with Nix (GHC 9.4)
run: nix build ".#richenv-ghc94"
ghc-98:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
- name: Enable cache for Nix
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Build package with Nix (GHC 9.8)
run: nix build ".#richenv-ghc98"
ghc-910:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
- name: Enable cache for Nix
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Build package with Nix (GHC 9.10)
run: nix build ".#richenv-ghc910"