Skip to content

Commit

Permalink
Drop support for Go 1.20 and add support for Go 1.22
Browse files Browse the repository at this point in the history
Also update golangci-lint from 1.55.2 to 1.57.1
  • Loading branch information
dhui committed Mar 25, 2024
1 parent 56f9375 commit 0ddc85d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,29 @@ 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

- name: Set up Go
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:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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**.

Expand Down

0 comments on commit 0ddc85d

Please sign in to comment.