flake.nix: use git submodules instead of flake input for libshv #115
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: 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 |