build: go 1.18 minimum

Michael Muré created

Change summary

.github/workflows/go.yml   | 4 ++--
api/graphql/gen_graphql.go | 2 +-
webui/debug_assets.go      | 2 +-
webui/pack_webui.go        | 2 +-
webui/packed_assets.go     | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)

Detailed changes

.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

webui/packed_assets.go 🔗

@@ -1,6 +1,6 @@
 // Code generated by vfsgen; DO NOT EDIT.
 
-// +build !debugwebui
+//go:build !debugwebui
 
 package webui