mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-09-11 14:35:30 +03:00
add github action to check formatting
This commit is contained in:
parent
6b015ff9f5
commit
667d639c94
13
.github/workflows/tests.yml
vendored
13
.github/workflows/tests.yml
vendored
@ -53,3 +53,16 @@ jobs:
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- run: nix run .#tests-unit
|
||||
|
||||
tests-format:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.4.0
|
||||
- uses: cachix/install-nix-action@v15
|
||||
with:
|
||||
install_url: https://nixos-nix-install-tests.cachix.org/serve/w659aglf1hfvkj5wj696q9x8r19p6b7k/install
|
||||
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
|
||||
extra_nix_config: |
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- run: nix run .#format -- --fail-on-change
|
||||
|
Loading…
Reference in New Issue
Block a user