Nix improvements #57
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
# © 2019-2023 Serokell <hi@serokell.io> | |
# © 2019-2023 Lars Jellema <lars.jellema@gmail.com> | |
# | |
# SPDX-License-Identifier: MPL-2.0 | |
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v26 | |
- name: reuse lint | |
run: nix shell .#packages.x86_64-linux.reuse -c reuse lint | |
- name: build nixfmt | |
run: nix build -L . | |
if: success() || failure() |