Merge pull request #279 from nix-community/flake/utils #111
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
# SPDX-FileCopyrightText: 2024 Sefa Eyeoglu <contact@scrumplex.net> | |
# | |
# SPDX-License-Identifier: MIT | |
name: Nix Format Check | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Check formatting | |
run: | | |
nix fmt -- --ci |