Skip to content
Merged

Gnls #94

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 18 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,44 +44,52 @@ jobs:
run: nix flake check

build-ui-metadata:
name: "build-ui-metadata (${{matrix.runs-on}})"
name: "build-ui-metadata (${{matrix.runs-on.os}}, ${{matrix.runs-on.arch}})"
runs-on:
- self-hosted
- ${{matrix.runs-on}}
- ${{matrix.runs-on.os}}
strategy:
fail-fast: false
matrix:
runs-on:
- macOS
- Linux
- os: macOS
arch: aarch64-darwin
- os: Linux
arch: x86_64-linux
- os: Linux
arch: aarch64-linux

steps:
- uses: actions/checkout@v4

- name: Build .#ui_metadata_farm
if: "!contains(github.event.head_commit.message, 'noci')"
run: |
nix build .#ui_metadata_farm
nix build .#packages.${{matrix.runs-on.arch}}.ui_metadata_farm

build-sample-environments:
name: "build-sample-environments (${{matrix.runs-on}})"
name: "build-sample-environments (${{matrix.runs-on.os}}, ${{matrix.runs-on.arch}})"
runs-on:
- self-hosted
- ${{matrix.runs-on}}
- ${{matrix.runs-on.os}}
strategy:
fail-fast: false
matrix:
runs-on:
- macOS
- Linux
- os: macOS
arch: aarch64-darwin
- os: Linux
arch: x86_64-linux
- os: Linux
arch: aarch64-linux

steps:
- uses: actions/checkout@v4

- name: Build .#sample_environments_farm
if: "!contains(github.event.head_commit.message, 'noci')"
run: |
nix build .#sample_environments_farm
nix build .#packages.${{matrix.runs-on.arch}}.sample_environments_farm

test:
name: ${{ matrix.suite.name }} (${{ matrix.runs-on }}${{ matrix.suite.flags && format(', {0}', matrix.suite.flags) || '' }})
Expand Down
4 changes: 4 additions & 0 deletions modules/kernels/go/language-server-gopls/go-parser.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ buildGoModule rec {
owner = "codedownio";
repo = "go-notebook-language-server";
rev = "v${version}";
<<<<<<< gnls
hash = "sha256-bOh7LbPxs+olEGKrNnnoq6xMhoRRSeZCV6GgJ7CUPyk=";
=======
hash = "sha256-SdN/v4psQRQ8O+3BosYgcZzBZSxNytVmw1A/lM2fQ/4=";
>>>>>>> main
};

sourceRoot = "${src.name}/go-parser";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ common.writeTextDirWithMetaAndPassthru gopls.meta passthru "lib/codedown/languag
description = gopls.meta.description;
icon = ../go-logo-64x64.png;
extensions = ["go"];
notebook_suffix = ".go";
notebook_suffix = "";
kernel_name = kernelName;
header_lines = ["package Notebook"];
header_lines = [];
attrs = attrs;
type = "stream";
args = [
Expand Down
Loading