Skip to content

Commit fc688a7

Browse files
committed
Update to go 1.18
Signed-off-by: Nahum Shalman <[email protected]>
1 parent 6deb3ff commit fc688a7

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: 1.17
19+
go-version: 1.18
2020

2121
- name: Build
2222
run: go build -v ./...

.golangci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ linters-settings:
9292
- name: waitgroup-by-value
9393

9494
staticcheck:
95-
go: "1.17"
95+
go: "1.18"
9696

9797
unused:
98-
go: "1.17"
98+
go: "1.18"
9999

100100
output:
101101
sort-results: true

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/tinkerbell/lint-install
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/hexops/gotextdiff v1.0.3

shell.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ let _pkgs = import <nixpkgs> { };
22
in { pkgs ? import (_pkgs.fetchFromGitHub {
33
owner = "NixOS";
44
repo = "nixpkgs";
5-
#branch@date: nixpkgs-unstable@2021-11-12
6-
rev = "2fbba4b4416446721ebfb2e0bfcc9e45d8ddb4d2";
7-
sha256 = "1yw2p38pdvx63n21g6pmn79xjpxa93p1qpcadrlmg0j0zjnxkwr8";
5+
#branch@date: nixpkgs-unstable@2022-08-17
6+
rev = "d61d4e71ba9a8f56e9f2092b7cfa9cffa4253971";
7+
sha256 = "0x76l64pchaqaw8v0b331g4jm3li1xcpkbwxpn9n6a769c4ynj58";
88
}) { } }:
99

1010
with pkgs;
@@ -13,7 +13,7 @@ mkShell {
1313
buildInputs = [
1414
git
1515
gnumake
16-
go
16+
go_1_18
1717
nixfmt
1818
nodePackages.prettier
1919
python3Packages.pip

0 commit comments

Comments
 (0)