Skip to content

Merge pull request #1088 from tidalcycles/tactus-tweaks #217

Merge pull request #1088 from tidalcycles/tactus-tweaks

Merge pull request #1088 from tidalcycles/tactus-tweaks #217

Workflow file for this run

# A set of CI jobs for checking the Nix flake.
name: "nix"
on:
push:
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
jobs:
cancel-previous-runs:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
nix-fmt-check:
needs: cancel-previous-runs
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix fmt -- --check ./
nix-build:
needs: cancel-previous-runs
strategy:
matrix:
package: [tidal, tidal-link, tidal-parse]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix build --print-build-logs --no-update-lock-file .#${{ matrix.package }}