Skip to content

Commit c8fcdd3

Browse files
committed
Merge branch 'master' into 2021-11-10-add-gen-hie-note
2 parents ab0c645 + a4137e0 commit c8fcdd3

File tree

5 files changed

+23
-12
lines changed

5 files changed

+23
-12
lines changed

Diff for: .github/dependabot.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
4+
# NOTE: Dependabot official configuration documentation:
5+
# https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates#package-ecosystem
6+
7+
# Maintain dependencies for internal GitHub Actions CI for pull requests
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"

Diff for: .github/workflows/bench.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
should_skip: ${{ steps.skip_check.outputs.should_skip }}
1818
steps:
1919
- id: skip_check
20-
uses: fkirc/[email protected].0
20+
uses: fkirc/[email protected].1
2121
with:
2222
cancel_others: false
2323
paths_ignore: '["**/docs/**", "**.md", "**/LICENSE", ".circleci/**", "install/**", "**.nix", "**/test/**", "flake.lock", "**/README.md", "FUNDING.yml"]'

Diff for: .github/workflows/nix.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ 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@master
24+
uses: fkirc/skip-duplicate-actions@v3.4.1
2525
with:
2626
cancel_others: false
2727
paths_ignore: '["**/docs/**", "**.md", "**/LICENSE", ".circleci/**", "install/**", "**/README.md", "FUNDING.yml"]'
2828
- id: skip_check_no_nix
29-
uses: fkirc/skip-duplicate-actions@master
29+
uses: fkirc/skip-duplicate-actions@v3.4.1
3030
with:
3131
cancel_others: false
3232
paths: '["**.nix"]'
@@ -46,7 +46,7 @@ jobs:
4646
- uses: actions/checkout@v2
4747
with:
4848
submodules: true
49-
- uses: cachix/install-nix-action@v13
49+
- uses: cachix/install-nix-action@v14.1
5050
with:
5151
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
5252
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
@@ -81,7 +81,7 @@ jobs:
8181
- uses: actions/checkout@v2
8282
with:
8383
submodules: true
84-
- uses: cachix/install-nix-action@v13
84+
- uses: cachix/install-nix-action@v14.1
8585
with:
8686
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
8787
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'

Diff for: .github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
should_skip_ghcide: ${{ steps.skip_ghcide_check.outputs.should_skip }}
2323
steps:
2424
- id: skip_check
25-
uses: fkirc/[email protected].0
25+
uses: fkirc/[email protected].1
2626
with:
2727
cancel_others: false
2828
paths_ignore: '["**/docs/**", "**.md", "**/LICENSE", "install/**", "**.nix", "flake.lock", "**/README.md", "FUNDING.yml", ".circleci/**"]'
2929
# If we only change ghcide downstream packages we have not test ghcide itself
3030
- id: skip_ghcide_check
31-
uses: fkirc/[email protected].0
31+
uses: fkirc/[email protected].1
3232
with:
3333
cancel_others: false
3434
paths_ignore: '["hls-test-utils/**", "plugins/**", "src/**", "exe/**", "test/**", "shake-bench/**"]'

Diff for: docs/contributing/contributing.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -113,17 +113,17 @@ $ cabal run haskell-language-server:func-test -- -p "hlint enables"
113113

114114
## Using HLS on HLS code
115115

116-
Generally, project now should work without any `hie.yaml` configuration placed.
116+
Project source code is made to load without any `hie.yaml` configuration placed. If to say - implicit detection of configuration should work now.
117117

118118
In other cases:
119-
1. If there are `hie.yaml` (& `hie.yml`) files - try to backup them, remove & load project without them.
120-
2. Note that many subdirectories of a project are in itself are subprojects, & if main project needs special configuration - they need be hooked-up also.
119+
1. Check if `hie.yaml` (& `hie.yml`) files left from previous efforts to configure.
120+
2. Note that many subdirectories of a project are in itself are subprojects, & if main project needs special configuration - they probably need also.
121121

122-
In implicit configuration detection does not work & to create a mock configuration for all projects - use [implicit-hie](https://github.com/Avi-D-coder/implicit-hie) generator directly to put configuration explicitly - it would add configuarations for all projects at once by:
122+
If implicit configuration detection does not work. To create a mock configuration for all projects - use [implicit-hie](https://github.com/Avi-D-coder/implicit-hie) generator directly to put configuration explicitly - it would add configuarations for all projects at once by:
123123
```shell
124124
gen-hie > hie.yaml # into the main HLS directory
125125
```
126-
that configuration now can be inspected, it may work out of the box or can be tuned further with custom configuration.
126+
& try that configuration - it may work out of the bos, & that configuration can be inspected & tuned further.
127127

128128
[Configuring project build](../configuration.md#configuring-your-project-build) applies to HLS project source code loading just as to any other.
129129

0 commit comments

Comments
 (0)