From 0ddc85d3f95e1234531e51936fb3eb566bb98a6f Mon Sep 17 00:00:00 2001 From: Dale Hui Date: Sun, 24 Mar 2024 22:04:07 -0700 Subject: [PATCH] Drop support for Go 1.20 and add support for Go 1.22 Also update golangci-lint from 1.55.2 to 1.57.1 --- .github/workflows/go.yml | 14 +++++++------- README.md | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 85f81bb..0bbaaad 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -9,13 +9,13 @@ on: jobs: build: runs-on: ubuntu-latest - + strategy: matrix: - go: [ '1.20', '1.21' ] - + go: [ '1.21', '1.22' ] + name: Go ${{ matrix.go }} - + steps: - uses: actions/checkout@v4 @@ -23,15 +23,15 @@ jobs: uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - + - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.55.2 + version: v1.57.1 - name: Test run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./... - + - name: Send coverage to Coveralls uses: shogo82148/actions-goveralls@v1 with: diff --git a/README.md b/README.md index 55271ce..7d220b2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # dktest -![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/dhui/dktest/go.yml?branch=master) [![Coverage Status](https://img.shields.io/coveralls/github/dhui/dktest/master.svg)](https://coveralls.io/github/dhui/dktest?branch=master) [![GoDoc](https://godoc.org/github.com/dhui/dktest?status.svg)](https://godoc.org/github.com/dhui/dktest) [![Go Report Card](https://goreportcard.com/badge/github.com/dhui/dktest)](https://goreportcard.com/report/github.com/dhui/dktest) [![GitHub Release](https://img.shields.io/github/release/dhui/dktest/all.svg)](https://github.com/dhui/dktest/releases) ![Supported Go versions](https://img.shields.io/badge/Go-1.20%2C%201.21-lightgrey.svg) +![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/dhui/dktest/go.yml?branch=master) [![Coverage Status](https://img.shields.io/coveralls/github/dhui/dktest/master.svg)](https://coveralls.io/github/dhui/dktest?branch=master) [![GoDoc](https://godoc.org/github.com/dhui/dktest?status.svg)](https://godoc.org/github.com/dhui/dktest) [![Go Report Card](https://goreportcard.com/badge/github.com/dhui/dktest)](https://goreportcard.com/report/github.com/dhui/dktest) [![GitHub Release](https://img.shields.io/github/release/dhui/dktest/all.svg)](https://github.com/dhui/dktest/releases) ![Supported Go versions](https://img.shields.io/badge/Go-1.21%2C%201.22-lightgrey.svg) `dktest` is short for **d**oc**k**er**test**.