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