graphql-engine/server
Antoine Leblanc 591db631ea ci: run stylish haskell on all incoming PRs
### Description

This PR adds two new github actions: one in the OSS repo, one in the monorepo. The OSS action runs `stylish-haskell` on all files touched by the PR, and displays a warning for each file that was in need of a formatting. The monorepo action does the same thing, with a twist: if the branch is not a shadow copy of an OSS branch, we assume that it is a local branch, and simply push a new commit with the changes.

Furthermore, this PR upgrades our stylish-haskell config to add record formatting, as close as possible to our styleguide.

Both actions use the standard stylish-haskell, not our modified fork.

### Known limitation

The monorepo action does not handle forks: pushing to the branch will fail, and checking the branch out might fail too. This is probably acceptable since we don't use forks with the monorepo, but it wouldn't be hard to handle that gracefully.

GitOrigin-RevId: 814138c5b9826098e2e4ea192778fc0d93fbe390
2021-01-21 23:37:26 +00:00
..
bench-wrk server: make more use of hlint (#6059) 2020-10-28 16:40:33 +00:00
packaging Switch from stack to cabal-install for building server code (close #3280) (#3558) 2020-01-17 16:07:15 -06:00
src-bench-cache server: make more use of hlint (#6059) 2020-10-28 16:40:33 +00:00
src-exec server: multi source metadata APIs (#217) 2021-01-07 09:05:19 +00:00
src-lib server: allow mapping session variables to standard JWT claims 2021-01-21 16:50:46 +00:00
src-rsr server: multi source metadata APIs (#217) 2021-01-07 09:05:19 +00:00
src-test server: allow mapping session variables to standard JWT claims 2021-01-21 16:50:46 +00:00
tests-py Server: Remote relationships permissions 2021-01-19 20:57:58 +00:00
.dockerignore update packages (#251) 2018-08-08 13:10:13 +05:30
.gitignore Merge oss/master onto mono/main 2020-11-12 22:37:19 +05:30
.hlint.yaml server: clean MaybeT usage, and introduce new hlint rules 2021-01-19 13:38:42 +00:00
.stylish-haskell.yaml ci: run stylish haskell on all incoming PRs 2021-01-21 23:37:26 +00:00
cabal.project server: allow fragments to use variables (fix hasura/graphql-engine#6303) (#225) 2020-12-22 10:42:34 +00:00
cabal.project.ci server: Bump GHC version to 8.10.2 (#5659) 2020-08-26 23:16:23 -05:00
cabal.project.dev server: Bump GHC version to 8.10.2 (#5659) 2020-08-26 23:16:23 -05:00
cabal.project.dev-sh dev.sh: restore code coverage functionality 2020-01-23 18:35:18 -05:00
cabal.project.dev-sh.freeze dev.sh: restore code coverage functionality 2020-01-23 18:35:18 -05:00
cabal.project.dev-sh.local ci: activate -Werror in dev.sh config 2021-01-08 21:32:34 +00:00
cabal.project.freeze Merge pull request #113 from hasura/karthikeyan/remote-schema-permissions 2020-12-21 09:12:35 +00:00
commit_diff.txt Rewrite GraphQL schema generation and query parsing (close #2801) (#4111) 2020-08-21 12:27:01 -05:00
CONTRIBUTING.md Merge pull request #223 from hasura/jberryman/5863-prep-refactoring 2020-12-20 06:53:38 +00:00
graphql-engine.cabal server: allow mapping session variables to standard JWT claims 2021-01-21 16:50:46 +00:00
Makefile server: hasura on PG v13 (#125) 2020-12-01 12:22:42 +00:00
sample.hie.yaml Merge oss/master onto mono/main 2020-11-12 22:37:19 +05:30
Setup.hs move raven into graphql-engine repo 2018-06-28 00:32:00 +05:30
STYLE.md server: Add a Haskell style guide (#2175) 2020-04-08 02:31:30 -05:00