Skip to content

Commit b3cab6b

Browse files
authored
Merge branch 'master' into fix-source-plugins
2 parents 0e35e52 + 66599f4 commit b3cab6b

File tree

896 files changed

+15009
-1545
lines changed

Some content is hidden

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

896 files changed

+15009
-1545
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ inputs:
2323
runs:
2424
using: "composite"
2525
steps:
26-
- uses: haskell/actions/setup@v1
26+
- uses: haskell/actions/setup@v2
2727
id: HaskEnvSetup
2828
with:
2929
ghc-version : ${{ inputs.ghc }}
@@ -74,7 +74,7 @@ runs:
7474
# We have to restore package sources before `cabal update`
7575
# because it overwrites the hackage index with the cached one
7676
- name: Hackage sources cache
77-
uses: actions/cache@v2
77+
uses: actions/cache@v3
7878
env:
7979
cache-name: hackage-sources
8080
with:
@@ -99,7 +99,7 @@ runs:
9999

100100
- name: Compiled deps cache
101101
id: compiled-deps
102-
uses: actions/cache@v2
102+
uses: actions/cache@v3
103103
env:
104104
cache-name: compiled-deps
105105
with:

.github/workflows/bench.yml

Lines changed: 3 additions & 3 deletions
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/skip-duplicate-actions@v5.2.0
24+
uses: fkirc/skip-duplicate-actions@v5.3.0
2525
with:
2626
cancel_others: false
2727
paths_ignore: '[ "**/docs/**"
@@ -46,7 +46,7 @@ jobs:
4646
strategy:
4747
fail-fast: false
4848
matrix:
49-
ghc: ['8.10.7', '9.2.4']
49+
ghc: ['8.10.7', '9.2.5']
5050
os: [ubuntu-latest]
5151

5252
# This code is fitted to the strategy: assumes Linux is used ... etc,
@@ -104,7 +104,7 @@ jobs:
104104
strategy:
105105
fail-fast: false
106106
matrix:
107-
ghc: ['8.10.7', '9.2.4']
107+
ghc: ['8.10.7', '9.2.5']
108108
os: [ubuntu-latest]
109109
cabal: ['3.6']
110110
example: ['cabal', 'lsp-types']

.github/workflows/caching.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
should_skip: ${{ steps.skip_check.outputs.should_skip }}
5858
steps:
5959
- id: skip_check
60-
uses: fkirc/skip-duplicate-actions@v5.2.0
60+
uses: fkirc/skip-duplicate-actions@v5.3.0
6161
with:
6262
cancel_others: false
6363
paths_ignore: '["**/docs/**"
@@ -80,15 +80,26 @@ jobs:
8080
strategy:
8181
fail-fast: false
8282
matrix:
83-
ghc: [ "9.2.4"
84-
, "9.2.3"
83+
# This list of GHC (including the "exclude" list) versions must match
84+
# to the list of GHC versions specified in 'test.yml'
85+
ghc: [ "9.4.3"
86+
, "9.4.2"
87+
, "9.2.5"
88+
, "9.2.4"
8589
, "9.0.2"
8690
, "8.10.7"
8791
]
8892
os: [ "ubuntu-latest"
8993
, "macOS-latest"
9094
, "windows-latest"
9195
]
96+
exclude:
97+
# Exclude until https://github.com/haskell/actions/issues/129
98+
# is resolved.
99+
- os: windows-latest
100+
ghc: '9.4.3' # Excluded because github action cannot install it
101+
- os: windows-latest
102+
ghc: '9.2.5'
92103

93104
steps:
94105
- uses: actions/checkout@v3

.github/workflows/flags.yml

Lines changed: 4 additions & 4 deletions
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/skip-duplicate-actions@v5.2.0
24+
uses: fkirc/skip-duplicate-actions@v5.3.0
2525
with:
2626
cancel_others: false
2727
paths_ignore: '[ "**/docs/**"
@@ -44,7 +44,7 @@ jobs:
4444
strategy:
4545
fail-fast: true
4646
matrix:
47-
ghc: [ "9.2.4"
47+
ghc: [ "9.2.5"
4848
, "9.0.2"
4949
, "8.10.7"
5050
]
@@ -65,8 +65,8 @@ jobs:
6565
- name: Build `ghcide` with flags
6666
run: cabal v2-build ghcide --flags="ghc-patched-unboxed-bytecode test-exe executable bench-exe ekg"
6767

68-
# we have to clean up warnings for 9.0 and 9.2 before enable -WAll
69-
- if: matrix.ghc != '9.0.2' && matrix.ghc != '9.2.4'
68+
# we have to clean up warnings for 9.0 and 9.2 before enable -Wall
69+
- if: matrix.ghc != '9.0.2' && matrix.ghc != '9.2.5'
7070
name: Build with pedantic (-WError)
7171
run: cabal v2-build --flags="pedantic"
7272

.github/workflows/hackage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
matrix:
2929
package: ["hie-compat", "hls-graph", "shake-bench",
3030
"hls-plugin-api", "ghcide", "hls-test-utils",
31+
"hls-cabal-plugin",
3132
"hls-brittany-plugin", "hls-floskell-plugin", "hls-fourmolu-plugin",
3233
"hls-ormolu-plugin", "hls-stylish-haskell-plugin",
3334
"hls-class-plugin", "hls-eval-plugin", "hls-explicit-imports-plugin",
@@ -37,6 +38,7 @@ jobs:
3738
"hls-splice-plugin", "hls-tactics-plugin",
3839
"hls-call-hierarchy-plugin", "hls-alternate-number-format-plugin",
3940
"hls-qualify-imported-names-plugin", "hls-code-range-plugin",
41+
"hls-cabal-fmt-plugin",
4042
"haskell-language-server"]
4143
ghc: [ "9.0.2"
4244
, "8.10.7"

.github/workflows/hlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: 'Installing'
1616
uses: rwe/actions-hlint-setup@v1
1717
with:
18-
version: '3.4'
18+
version: '3.5'
1919

2020
- name: 'Checking code'
2121
uses: rwe/actions-hlint-run@v2

.github/workflows/nix.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
should_skip_build: ${{ steps.skip_check_no_nix.outputs.should_skip }}
2222
steps:
2323
- id: skip_check
24-
uses: fkirc/skip-duplicate-actions@v5.2.0
24+
uses: fkirc/skip-duplicate-actions@v5.3.0
2525
with:
2626
cancel_others: false
2727
paths_ignore: '[ "**/docs/**"
@@ -36,7 +36,7 @@ jobs:
3636
, ".gitlab/**"
3737
]'
3838
- id: skip_check_no_nix
39-
uses: fkirc/skip-duplicate-actions@v5.2.0
39+
uses: fkirc/skip-duplicate-actions@v5.3.0
4040
with:
4141
cancel_others: false
4242
paths: '[ "**.nix" ]'
@@ -57,12 +57,10 @@ jobs:
5757

5858
- uses: cachix/install-nix-action@v18
5959
with:
60-
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
61-
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
6260
extra_nix_config: |
6361
experimental-features = nix-command flakes
6462
nix_path: nixpkgs=channel:nixos-unstable
65-
- uses: cachix/cachix-action@v11
63+
- uses: cachix/cachix-action@v12
6664
with:
6765
name: haskell-language-server
6866
# Disable pushing, we will do that in job `build`
@@ -91,12 +89,10 @@ jobs:
9189

9290
- uses: cachix/install-nix-action@v18
9391
with:
94-
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
95-
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
9692
extra_nix_config: |
9793
experimental-features = nix-command flakes
9894
nix_path: nixpkgs=channel:nixos-unstable
99-
- uses: cachix/cachix-action@v11
95+
- uses: cachix/cachix-action@v12
10096
with:
10197
name: haskell-language-server
10298
authToken: ${{ secrets.HLS_CACHIX_AUTH_TOKEN }}

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@v3
1616
- name: Find changed files
17-
uses: technote-space/get-diff-action@v6.1.0
17+
uses: technote-space/get-diff-action@v6.1.2
1818
id: git-diff
1919
with:
2020
PATTERNS: |
@@ -26,6 +26,8 @@ jobs:
2626
- uses: actions/checkout@v3
2727
- uses: ./.github/actions/setup-build
2828
with:
29+
# select a stable GHC version
30+
ghc: 9.2.5
2931
os: ${{ runner.os }}
3032
shorten-hls: false
3133

0 commit comments

Comments
 (0)