Skip to content

Commit

Permalink
Use Go 1.18.5 to fix CI builds
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Weinstock <[email protected]>
  • Loading branch information
jacobweinstock committed Sep 15, 2022
1 parent 0e1c113 commit 6d43994
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: "1.18.6"
go-version: "1.18.5"

- name: make verify
run: make verify
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: "1.18.6"
go-version: "1.18.5"

- name: Install nix
uses: cachix/install-nix-action@v16
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: "1.18.6"
go-version: "1.18.5"

- run: make crosscompile -j$(nproc)

Expand Down
22 changes: 17 additions & 5 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,32 @@ let _pkgs = import <nixpkgs> { };
in { pkgs ? import (_pkgs.fetchFromGitHub {
owner = "NixOS";
repo = "nixpkgs";
#branch@date: nixos-unstable-small@2022-04-18
rev = "e33fe968df5a2503290682278399b1198f7ba56f";
sha256 = "0kr30yj9825jx4zzcyn43c398mx3l63ndgfrg1y9v3d739mfgyw3";
#branch@date: 21.11@2021-12-02
rev = "21.11";
sha256 = "sha256-AjhmbT4UBlJWqxY0ea8a6GU2C2HdKUREkG43oRr3TZg=";
}) { } }:

with pkgs;

mkShell {
let
pkgs = import (_pkgs.fetchFromGitHub {
# go 1.18.5
owner = "NixOS";
repo = "nixpkgs";
#branch@date: nixpkgs-unstable@2022-09-02
rev = "ee01de29d2f58d56b1be4ae24c24bd91c5380cea";
sha256 = "0829fqp43cp2ck56jympn5kk8ssjsyy993nsp0fjrnhi265hqps7";
}) { };

go_1_18_5 = pkgs.go;

in mkShell {
buildInputs = [
docker-compose
git
gnumake
gnused
go_1_18
go_1_18_5
jq
nixfmt
nodePackages.prettier
Expand Down

0 comments on commit 6d43994

Please sign in to comment.