From 56966fec5562c3a0e23340d0fbe754626c3beb64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Sun, 31 Jul 2022 14:42:00 +0200 Subject: [PATCH] build: go 1.18 minimum --- .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(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 27353e9014247af93769bac7c03462e64f8e5ec2..7846a1d642443f22f003e2fc642aba35090fd0c0 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 47f2c458effa72311e5cfca1e7e0955217412a93..19c5f1e3d81bb219d806bcb3b1f7de31dfd767e6 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 87ec4f6c7adbe65701cea10f0e70ad9657209901..ffefbcabc974706452a3a108da514c40b9e1f3a1 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 69cac9d4f01a82515dd435f221262f66104f55ac..91e2053f3549fe6712a2feb6aaef156566d2a4b8 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 90bc6b386a8f65616f8a8ee297e108cd5aa1ba36..eb244920ba1d472e8f2488335527400d32ddea38 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