From da2cd662f9c6c8bedb43ce6620b7a772c639f673 Mon Sep 17 00:00:00 2001 From: Cory Jacobsen Date: Thu, 11 Nov 2021 07:21:43 -0600 Subject: [PATCH] Fix goconst issue, bumped test matrix --- .github/workflows/test.yaml | 2 +- .golangci.yaml | 2 +- fs_embed_test.go | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f7433ad..bdcf897 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,7 +11,7 @@ jobs: tests: strategy: matrix: - go-version: [1.14.x, 1.15.x, 1.16.x] + go-version: [1.15.x, 1.16.x, 1.17.x] os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: diff --git a/.golangci.yaml b/.golangci.yaml index a8d0fee..b96a5e6 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -12,7 +12,6 @@ linters: - dupl - errcheck - exhaustive - - goconst - gocritic - gocyclo - goimports @@ -35,6 +34,7 @@ linters: - whitespace - noctx - misspell + # - goconst # - golint # - gochecknoinits # - funlen diff --git a/fs_embed_test.go b/fs_embed_test.go index b6fbe57..23be5ef 100644 --- a/fs_embed_test.go +++ b/fs_embed_test.go @@ -1,3 +1,4 @@ +//go:build go1.16 // +build go1.16 package render