Skip to content

Commit 62129bf

Browse files
authored
Merge branch 'master' into qualified-completion
2 parents cf6db6c + 7db6215 commit 62129bf

File tree

120 files changed

+2229
-3338
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+2229
-3338
lines changed

.github/actions/setup-build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ inputs:
77
cabal:
88
description: "Cabal version"
99
required: false
10-
default: "3.8.1.0"
10+
default: "3.10.2.0"
1111
os:
1212
description: "Operating system: Linux, Windows or macOS"
1313
required: true

.github/workflows/bench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
should_skip: ${{ steps.skip_check.outputs.should_skip }}
2222
steps:
2323
- id: skip_check
24-
uses: fkirc/[email protected].0
24+
uses: fkirc/[email protected].1
2525
with:
2626
cancel_others: false
2727
paths_ignore: '[ "**/docs/**"

.github/workflows/caching.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- id: ghcs
6363
run: echo "ghcs=$(cat ./.github/workflows/supported-ghc-versions.json)" >> $GITHUB_OUTPUT
6464
- id: skip_check
65-
uses: fkirc/[email protected].0
65+
uses: fkirc/[email protected].1
6666
with:
6767
cancel_others: false
6868
paths_ignore: '["**/docs/**"

.github/workflows/flags.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- id: ghcs
2727
run: echo "ghcs=$(cat ./.github/workflows/supported-ghc-versions.json)" >> $GITHUB_OUTPUT
2828
- id: skip_check
29-
uses: fkirc/[email protected].0
29+
uses: fkirc/[email protected].1
3030
with:
3131
cancel_others: false
3232
paths_ignore: '[ "**/docs/**"

.github/workflows/nix.yml

Lines changed: 3 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ jobs:
1818
runs-on: ubuntu-latest
1919
outputs:
2020
should_skip_develop: ${{ steps.skip_check.outputs.should_skip }}
21-
should_skip_build: ${{ steps.skip_check_no_nix.outputs.should_skip }}
2221
steps:
2322
- id: skip_check
24-
uses: fkirc/[email protected].0
23+
uses: fkirc/[email protected].1
2524
with:
2625
cancel_others: false
2726
paths_ignore: '[ "**/docs/**"
@@ -35,11 +34,6 @@ jobs:
3534
, ".gitlab-ci.yaml"
3635
, ".gitlab/**"
3736
]'
38-
- id: skip_check_no_nix
39-
uses: fkirc/[email protected]
40-
with:
41-
cancel_others: false
42-
paths: '[ "**.nix" ]'
4337

4438
# Enter the development shell and run `cabal build`
4539
develop:
@@ -63,66 +57,15 @@ jobs:
6357
- uses: cachix/cachix-action@v12
6458
with:
6559
name: haskell-language-server
66-
# Disable pushing, we will do that in job `build`
67-
skipPush: true
60+
authToken: ${{ secrets.HLS_CACHIX_AUTH_TOKEN }}
6861
- run: |
6962
nix develop --print-build-logs --command cabal update
7063
nix develop --print-build-logs --command cabal build
7164
72-
# Build and then push HLS binaries with developmet shell to cachix
73-
# This job runs when
74-
# 1. PRs are merged to master (runs on master)
75-
# 2. Nix files are changed (runs on PR)
76-
build:
77-
needs: pre_job
78-
runs-on: ${{ matrix.os }}
79-
env:
80-
HAS_TOKEN: ${{ secrets.HLS_CACHIX_AUTH_TOKEN != '' }}
81-
if: (needs.pre_job.outputs.should_skip_build != 'true' && needs.pre_job.outputs.should_skip_pr != 'true') || (github.repository_owner == 'haskell' && github.ref == 'refs/heads/master')
82-
strategy:
83-
fail-fast: false
84-
matrix:
85-
os: [ubuntu-latest, macOS-latest]
86-
87-
steps:
88-
- uses: actions/checkout@v3
89-
90-
- uses: cachix/install-nix-action@v23
91-
with:
92-
extra_nix_config: |
93-
experimental-features = nix-command flakes
94-
nix_path: nixpkgs=channel:nixos-unstable
95-
- uses: cachix/cachix-action@v12
96-
with:
97-
name: haskell-language-server
98-
authToken: ${{ secrets.HLS_CACHIX_AUTH_TOKEN }}
99-
- name: Build development shell
100-
run: nix develop --print-build-logs --profile dev
101-
- name: Build all development shell (without nix dependencies)
102-
run: nix develop --print-build-logs .#all-simple-dev-shells --profile dev
103-
# We only build nix dev shell for current GHC version because some are
104-
# failing with different GHC version on darwin.
105-
- name: Build development shell with nix dependencies for current GHC version
106-
if: matrix.os == 'macOS-latest'
107-
run: nix develop --print-build-logs .#haskell-language-server-dev-nix --profile dev
108-
- name: Build development shells with nix dependencies
109-
if: matrix.os == 'ubuntu-latest'
110-
run: nix develop --print-build-logs .#all-nix-dev-shells --profile dev
111-
- name: Push development shell
112-
if: ${{ env.HAS_TOKEN == 'true' }}
113-
run: cachix push haskell-language-server dev
114-
- name: Build binaries
115-
run: nix build --print-build-logs
116-
- name: Build all binaries
117-
run: nix build --print-build-logs .#all-haskell-language-server
118-
- name: Push binaries
119-
if: ${{ env.HAS_TOKEN == 'true' }}
120-
run: nix path-info --json | jq -r '.[].path' | cachix push haskell-language-server
121-
12265
nix_post_job:
12366
if: always()
12467
runs-on: ubuntu-latest
125-
needs: [pre_job, develop, build]
68+
needs: [pre_job, develop]
12669
steps:
12770
- run: |
12871
echo "jobs info: ${{ toJSON(needs) }}"

.github/workflows/release.yaml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
matrix:
33-
ghc: ["9.8.1", "9.6.3", "9.4.7", "9.2.8", "9.0.2"]
33+
ghc: ["9.8.1", "9.6.3", "9.4.7", "9.2.8"]
3434
platform: [ { image: "debian:9"
3535
, installCmd: "sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list && sed -i 's|security.debian.org|archive.debian.org/|g' /etc/apt/sources.list && sed -i /-updates/d /etc/apt/sources.list && apt-get update && apt-get install -y"
3636
, toolRequirements: "libnuma-dev zlib1g-dev libgmp-dev libgmp10 libssl-dev liblzma-dev libbz2-dev git wget lsb-release software-properties-common gnupg2 apt-transport-https gcc autoconf automake build-essential curl ghc gzip libffi-dev libncurses-dev libncurses5 libtinfo5 patchelf"
@@ -118,15 +118,6 @@ jobs:
118118
# Perhaps we can migrate *all* unknown linux builds to a uniform
119119
# image.
120120
include:
121-
- ghc: 9.0.2
122-
platform:
123-
{ image: "rockylinux:8"
124-
, installCmd: "yum -y install epel-release && yum install -y --allowerasing"
125-
, toolRequirements: "autoconf automake binutils bzip2 coreutils curl elfutils-devel elfutils-libs findutils gcc gcc-c++ git gmp gmp-devel jq lbzip2 make ncurses ncurses-compat-libs ncurses-devel openssh-clients patch perl pxz python3 sqlite sudo wget which xz zlib-devel patchelf"
126-
, DISTRO: "Unknown"
127-
, ARTIFACT: "x86_64-linux-unknown"
128-
, ADD_CABAL_ARGS: "--enable-split-sections"
129-
}
130121
- ghc: 9.2.8
131122
platform:
132123
{ image: "rockylinux:8"
@@ -222,7 +213,7 @@ jobs:
222213
strategy:
223214
fail-fast: true
224215
matrix:
225-
ghc: ["9.8.1", "9.6.3", "9.4.7", "9.2.8", "9.0.2"]
216+
ghc: ["9.8.1", "9.6.3", "9.4.7", "9.2.8" ]
226217
steps:
227218
- uses: docker://arm64v8/ubuntu:focal
228219
name: Cleanup (aarch64 linux)
@@ -282,7 +273,7 @@ jobs:
282273
strategy:
283274
fail-fast: false
284275
matrix:
285-
ghc: ["9.8.1", "9.6.3", "9.4.7", "9.2.8", "9.0.2"]
276+
ghc: ["9.8.1", "9.6.3", "9.4.7", "9.2.8"]
286277
steps:
287278
- name: Checkout code
288279
uses: actions/checkout@v3
@@ -372,7 +363,7 @@ jobs:
372363
strategy:
373364
fail-fast: false
374365
matrix:
375-
ghc: ["9.8.1", "9.6.3", "9.4.7", "9.2.8", "9.0.2"]
366+
ghc: ["9.8.1", "9.6.3", "9.4.7", "9.2.8"]
376367
steps:
377368
- name: install windows deps
378369
shell: pwsh
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[ "9.8", "9.6", "9.4" , "9.2" , "9.0" ]
1+
[ "9.8", "9.6", "9.4" , "9.2" ]

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- id: ghcs
2828
run: echo "ghcs=$(cat ./.github/workflows/supported-ghc-versions.json)" >> $GITHUB_OUTPUT
2929
- id: skip_check
30-
uses: fkirc/[email protected].0
30+
uses: fkirc/[email protected].1
3131
with:
3232
cancel_others: false
3333
paths_ignore: '[ "**/docs/**"
@@ -45,7 +45,7 @@ jobs:
4545
]'
4646
# If we only change ghcide downstream packages we have not test ghcide itself
4747
- id: skip_ghcide_check
48-
uses: fkirc/[email protected].0
48+
uses: fkirc/[email protected].1
4949
with:
5050
cancel_others: false
5151
paths_ignore: '[ "hls-test-utils/**"
@@ -159,6 +159,10 @@ jobs:
159159
name: Test hls-splice-plugin
160160
run: cabal test hls-splice-plugin --test-options="$TEST_OPTS" || cabal test hls-splice-plugin --test-options="$TEST_OPTS"
161161

162+
- if: matrix.test && matrix.ghc != '9.2'
163+
name: Test hls-stan-plugin
164+
run: cabal test hls-stan-plugin --test-options="$TEST_OPTS" || cabal test hls-stan-plugin --test-options="$TEST_OPTS"
165+
162166
- if: matrix.test && !startsWith(matrix.ghc,'9.8')
163167
name: Test hls-stylish-haskell-plugin
164168
run: cabal test hls-stylish-haskell-plugin --test-options="$TEST_OPTS" || cabal test hls-stylish-haskell-plugin --test-options="$TEST_OPTS"

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
/plugins/hls-code-range-plugin @kokobd
3030
/plugins/hls-splice-plugin @konn
3131
/plugins/hls-stylish-haskell-plugin @Ailrun
32+
/plugins/hls-stan-plugin @0rphee
3233
/plugins/hls-explicit-record-fields-plugin @ozkutuk
3334
/plugins/hls-overloaded-record-dot-plugin @joyfulmantis
3435

bench/config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,5 @@ configurations:
221221
# - rename
222222
# - retrie
223223
# - splice
224+
# - stan
224225
# # - stylish-haskell

0 commit comments

Comments
 (0)