Check nix formatting too -- why not?
This commit is contained in:
parent
1a20858fe0
commit
77a1a00b01
1 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,12 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
formatting-nix:
|
||||
runs-on: beefcake
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: alejandra -c .
|
||||
run: 'nix develop -c alejandra -c .'
|
||||
build:
|
||||
runs-on: beefcake
|
||||
steps:
|
||||
|
@ -14,7 +21,7 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
- name: cargo test
|
||||
run: 'nix develop -c cargo test'
|
||||
formatting:
|
||||
formatting-rust:
|
||||
runs-on: beefcake
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
|
Loading…
Reference in a new issue