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 Jul 9, 2024
1 parent 09dc303 commit 1df3199
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/hls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Haskell Language Server works"
on:
merge_group:
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 @@ -113,6 +113,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 1df3199

Please sign in to comment.