Bump nixpkgs and simplify/clean up nix setup (#1529)

* Refactor tests and fix README

* fix linting hints from new hlint version

* postgrest-style with new nixpkgs-fmt
This commit is contained in:
Remo Rechkemmer
2020-05-20 21:30:20 -05:00
committed by GitHub
parent e6874c866d
commit 48c9ac36b1
27 changed files with 268 additions and 344 deletions
+5 -3
View File
@@ -42,16 +42,18 @@ jobs:
- checkout
- run:
name: Install linting and styling scripts
command: nix-env -f default.nix -iA lint style
command: nix-env -f default.nix -iA devtools
- run:
name: Run linter
command: |
echo 'Note: For checking this locally, use `make lint`. Or, if using `nix`, run `nix-shell --run postgrest-lint`'
# Note: For checking this locally, use `make lint`. Or, if using
# `nix`, run `nix-shell --run postgrest-lint`
postgrest-lint
- run:
name: Run style check
command: |
echo 'Note: For checking this locally, use `make style`. Or, if using `nix`, run `nix-shell --run postgrest-style`'
# 'Note: For checking this locally, use `make style`. Or, if using
# `nix`, run `nix-shell --run postgrest-style`
postgrest-style-check
build-test-9.4: