mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 23:15:26 +02:00
fix(ci-cd): Fix CI:CD
This commit is contained in:
parent
d7cbc9f454
commit
2e07b3e987
2
.github/workflows/release-nightly.yaml
vendored
2
.github/workflows/release-nightly.yaml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: Check version in code matches flake version
|
- name: Check version in code matches flake version
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if ! [ $(grep '// CI:CD-VERSION$' server/root-handler/handler.go | cut -d'"' -f 2) = $(nix eval --file flake.nix inputs.version | cut -d '"' -f 2) ];
|
if ! [ $(grep '// CI:CD-VERSION$' server/root-handler/handler.go | cut -d'"' -f 2) = $(grep '# CI:CD-VERSION$' flake.nix | cut -d'"' -f 2) ];
|
||||||
then
|
then
|
||||||
echo "Version mismatch"
|
echo "Version mismatch"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
inputs.utils.follows = "utils";
|
inputs.utils.follows = "utils";
|
||||||
};
|
};
|
||||||
utils.url = "github:numtide/flake-utils";
|
utils.url = "github:numtide/flake-utils";
|
||||||
version = "0.1.0";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, utils, gomod2nix, version }:
|
outputs = { self, nixpkgs, utils, gomod2nix }:
|
||||||
utils.lib.eachDefaultSystem (system:
|
utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
|
version = "0.1.0"; # CI:CD-VERSION
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
overlays = [
|
overlays = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user