summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-07-31 14:42:00 +0200
committerMichael Muré <batolettre@gmail.com>2022-07-31 14:47:07 +0200
commit56966fec5562c3a0e23340d0fbe754626c3beb64 (patch)
tree9f04b1e1ee362e210e74aaa324d950058ed14bf2
parentd179b8b7ec7815ccac73e00f35f5cfbdc4ddbe2e (diff)
downloadgit-bug-56966fec5562c3a0e23340d0fbe754626c3beb64.tar.gz
git-bug-56966fec5562c3a0e23340d0fbe754626c3beb64.zip
build: go 1.18 minimum
-rw-r--r--.github/workflows/go.yml4
-rw-r--r--api/graphql/gen_graphql.go2
-rw-r--r--webui/debug_assets.go2
-rw-r--r--webui/pack_webui.go2
-rw-r--r--webui/packed_assets.go2
5 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 27353e901..7846a1d64 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
- go-version: [1.16.x]
+ go-version: [1.18.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
@@ -46,7 +46,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
- go-version: 1.16.x
+ go-version: 1.18.x
- name: Checkout code
uses: actions/checkout@v2
diff --git a/api/graphql/gen_graphql.go b/api/graphql/gen_graphql.go
index 47f2c458e..19c5f1e3d 100644
--- a/api/graphql/gen_graphql.go
+++ b/api/graphql/gen_graphql.go
@@ -1,4 +1,4 @@
-// +build ignore
+//go:build ignore
package main
diff --git a/webui/debug_assets.go b/webui/debug_assets.go
index 87ec4f6c7..ffefbcabc 100644
--- a/webui/debug_assets.go
+++ b/webui/debug_assets.go
@@ -1,4 +1,4 @@
-// +build debugwebui
+//go:build debugwebui
package webui
diff --git a/webui/pack_webui.go b/webui/pack_webui.go
index 69cac9d4f..91e2053f3 100644
--- a/webui/pack_webui.go
+++ b/webui/pack_webui.go
@@ -1,4 +1,4 @@
-// +build ignore
+//go:build ignore
package main
diff --git a/webui/packed_assets.go b/webui/packed_assets.go
index 90bc6b386..eb244920b 100644
--- a/webui/packed_assets.go
+++ b/webui/packed_assets.go
@@ -1,6 +1,6 @@
// Code generated by vfsgen; DO NOT EDIT.
-// +build !debugwebui
+//go:build !debugwebui
package webui