commit
14c8d41a6a
3 changed files with 3294 additions and 3 deletions
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
|
@ -10,18 +10,20 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: cachix/install-nix-action@v13
|
- uses: cachix/install-nix-action@v17
|
||||||
with:
|
with:
|
||||||
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
|
|
||||||
install_options: "--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve"
|
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Cache Nix dependencies
|
- name: Cache Nix dependencies
|
||||||
run: |
|
run: |
|
||||||
nix develop -j 4 -c echo
|
nix develop -j 4 -c echo
|
||||||
- name: Format check
|
- name: Format check
|
||||||
run: |
|
run: |
|
||||||
nix develop -j auto -c treefmt --fail-on-change
|
nix develop -j auto -c treefmt --fail-on-change
|
||||||
|
- name: Hlint
|
||||||
|
run: |
|
||||||
|
nix develop -j auto -c hlint src
|
||||||
- name: Build
|
- name: Build
|
||||||
id: build
|
id: build
|
||||||
run: |
|
run: |
|
||||||
|
|
3288
.hlint.yaml
Normal file
3288
.hlint.yaml
Normal file
File diff suppressed because it is too large
Load diff
|
@ -6,6 +6,7 @@ Haskell project template optimized for a fully reproducible and friendly develop
|
||||||
- VSCode + [HLS](https://github.com/haskell/haskell-language-server)
|
- VSCode + [HLS](https://github.com/haskell/haskell-language-server)
|
||||||
- [fourmolu](https://github.com/fourmolu/fourmolu) autoformatting
|
- [fourmolu](https://github.com/fourmolu/fourmolu) autoformatting
|
||||||
- [Relude](https://github.com/kowainik/relude#relude) as Prelude.
|
- [Relude](https://github.com/kowainik/relude#relude) as Prelude.
|
||||||
|
- `.hlint.yaml` is [from relude](https://github.com/kowainik/relude/blob/main/.hlint.yaml)
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue