From df8a20a74d143dcb1d5d4bc7520f146be3aa5299 Mon Sep 17 00:00:00 2001 From: Matt Dainty Date: Wed, 28 Feb 2024 14:59:48 +0000 Subject: [PATCH] ci: Test on Golang 1.22 & 1.21 --- .github/workflows/build.yml | 10 ++++------ README.md | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bd842be..454a846 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,8 +18,8 @@ jobs: fail-fast: false matrix: go: - - '1.19' - - '1.20' + - '1.21' + - '1.22' env: DNS_HOST: ns.example.com @@ -131,10 +131,8 @@ jobs: - name: Install coverage tools run: | - go get github.com/wadey/gocovmerge - go get github.com/mattn/goveralls - env: - GO111MODULE: off + go install github.com/wadey/gocovmerge@latest + go install github.com/mattn/goveralls@latest - name: Merge coverage reports run: gocovmerge gokrb5.out apcera.out >cover.out diff --git a/README.md b/README.md index 345c779..04cdc26 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ [![Coverage Status](https://coveralls.io/repos/github/bodgit/tsig/badge.svg?branch=main)](https://coveralls.io/github/bodgit/tsig?branch=main) [![Go Report Card](https://goreportcard.com/badge/github.com/bodgit/tsig)](https://goreportcard.com/report/github.com/bodgit/tsig) [![GoDoc](https://godoc.org/github.com/bodgit/tsig?status.svg)](https://godoc.org/github.com/bodgit/tsig) -![Go version](https://img.shields.io/badge/Go-1.20-brightgreen.svg) -![Go version](https://img.shields.io/badge/Go-1.19-brightgreen.svg) +![Go version](https://img.shields.io/badge/Go-1.22-brightgreen.svg) +![Go version](https://img.shields.io/badge/Go-1.21-brightgreen.svg) # Additional TSIG methods