Merge pull request #33 from nix-community/dependabot/github_actions/a… #125
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: ci | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
check: | |
name: check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install nix | |
uses: cachix/install-nix-action@v24 | |
- name: Run checks | |
run: nix flake check | |
- name: Check formatting | |
run: nix run nixpkgs#nixpkgs-fmt -- . --check |