From c3dcec04b3ca095a759437de54fff9b738345222 Mon Sep 17 00:00:00 2001 From: Daniel Slapman Date: Mon, 18 Sep 2023 12:53:57 +0200 Subject: [PATCH] Update checkout action, add formolu config --- .github/workflows/ci.yml | 2 +- fourmolu.yaml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 fourmolu.yaml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 213c1c8..12e2313 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: artifact_name: json2csv asset_name: json2csv-macos-amd64 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: haskell/actions/setup@v2 with: stack-no-global: true diff --git a/fourmolu.yaml b/fourmolu.yaml new file mode 100644 index 0000000..b4c3884 --- /dev/null +++ b/fourmolu.yaml @@ -0,0 +1,7 @@ +indentation: 2 +function-arrows: leading-args +comma-style: trailing +indent-wheres: true +record-brace-space: true +let-style: inline +single-constraint-parens: auto \ No newline at end of file