We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ebf605 commit 4d17a7eCopy full SHA for 4d17a7e
.github/workflows/nix.yml
@@ -0,0 +1,26 @@
1
+name: Nix
2
+
3
+on: [push, pull_request]
4
+jobs:
5
+ nix:
6
+ runs-on: ${{ matrix.os }}
7
8
+ strategy:
9
+ fail-fast: false
10
+ matrix:
11
+ ghc: ['default', 'ghc8102', 'ghc884', 'ghc865']
12
+ os: [ubuntu-latest, macOS-latest]
13
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ with:
17
+ submodules: true
18
+ - uses: cachix/install-nix-action@v12
19
20
+ nix_path: nixpkgs=channel:nixos-20.03
21
+ - uses: cachix/cachix-action@v7
22
23
+ name: haskell-language-server
24
+ extraPullNames: haskell-ghcide
25
+ authToken: '${{ secrets.HLS_CACHIX_AUTH_TOKEN }}'
26
+ - run: nix-shell --argstr compiler ${{ matrix.ghc }} --run "cabal update && cabal build"
0 commit comments