Reformat all Nix files and remove flake-utils from Elixir template #31
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
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
check: | |
runs-on: "ubuntu-22.04" | |
steps: | |
- uses: "actions/checkout@v4" | |
- uses: "DeterminateSystems/nix-installer-action@main" | |
- uses: "DeterminateSystems/magic-nix-cache-action@main" | |
- name: Flake check | |
run: nix develop --command check | |
- name: Check formatting | |
run: | | |
git ls-files '*.nix' | nix develop --command xargs nixpkgs-fmt --check |