Skip to content

flake.nix: use git submodules instead of flake input for libshv #115

flake.nix: use git submodules instead of flake input for libshv

flake.nix: use git submodules instead of flake input for libshv #115

Workflow file for this run

name: Test
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
nix:
name: NixOS / Qt 6.6.2
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install Nix
uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Build
run: nix --experimental-features 'nix-command flakes' build -L .?submodules=1
- name: Flake check
run: nix --experimental-features 'nix-command flakes' flake check .?submodules=1
- name: Format
run: nix --experimental-features 'nix-command flakes' fmt && git diff --exit-code