tools: Update Go and linter

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
This commit is contained in:
Christopher Crone 2020-07-07 15:24:07 +02:00
parent 16acc36033
commit 878783d271
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ jobs:
- name: Run golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . v1.27.0
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . v1.28.1
./golangci-lint run --timeout 10m0s
build:

View File

@ -12,8 +12,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
ARG GO_VERSION=1.14.3-alpine
ARG GOLANGCI_LINT_VERSION=v1.27.0-alpine
ARG GO_VERSION=1.14.4-alpine
ARG GOLANGCI_LINT_VERSION=v1.28.1-alpine
FROM --platform=${BUILDPLATFORM} golang:${GO_VERSION} AS base
WORKDIR /api