Skip to content

Commit

Permalink
Add Haskell Language Server check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
palas committed Jun 21, 2024
1 parent 346cb8e commit 5d262d3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/hls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Haskell Language Server works"
on:
pull_request:
push:
branches:
- main

permissions:
contents: read

jobs:
test-hls-works:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
- uses: cachix/install-nix-action@daddc62a2e67d1decb56e028c9fa68344b9b7c2a
with:
nix_path: nixpkgs=channel:nixos-23.11
- run: nix develop --accept-flake-config --command bash -c "cabal update; haskell-language-server"
1 change: 1 addition & 0 deletions cardano-cli/cardano-cli.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ library
Cardano.CLI.EraBased.Run.TextView
Cardano.CLI.EraBased.Run.Transaction
Cardano.CLI.Helpers
Cardano.CLI.IO.Compat
Cardano.CLI.IO.Lazy
Cardano.CLI.Json.Friendly
Cardano.CLI.Legacy.Commands
Expand Down

0 comments on commit 5d262d3

Please sign in to comment.