Merge pull request #170 from NixOS/nixos-org #62
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-build -A packages.reuse && result/bin/reuse lint | |
- name: build nixfmt | |
run: nix-build | |
if: success() || failure() |