Add code formatting with purty (#171)

* Add code formatting with purty

* Purtify code
This commit is contained in:
Connor Prussin
2021-03-22 12:02:36 -07:00
committed by GitHub
parent 1ce9147917
commit 1ad5a08306
45 changed files with 1515 additions and 1296 deletions

View File

@@ -21,4 +21,4 @@ jobs:
run: nix-shell --run 'make build'
- name: Test
run: nix-shell --run 'make test'
run: nix-shell --run 'make test-code'

View File

@@ -0,0 +1,24 @@
name: Validate Formatting
on:
pull_request:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out codebase
uses: actions/checkout@v2
- name: Install nix
uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-20.09
- name: Build
run: nix-shell --run 'make build'
- name: Test
run: nix-shell --run 'make test-format'