From 6473713cec02c24ebf51079a262b2914b8b54256 Mon Sep 17 00:00:00 2001 From: Viktor Alenkov Date: Sun, 4 Feb 2024 10:10:25 +0300 Subject: [PATCH] 1. Bump minimal Go version 2. Refactoring GitHub Actions 3. Switched to generating releases instead of tags --- .github/workflows/test.yml | 6 +++++- .tool-versions | 2 +- README.adoc | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e8b180a..4ec8caf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,11 @@ jobs: strategy: matrix: - go: ["1.20.x", "1.21.x", ">=1.22.0-rc.1"] + go: ["1.20.x", "1.21.x"] + continueOnError: [false] + include: + - go: ">=1.22.0-rc.2" + continueOnError: true steps: - uses: actions/checkout@v4 diff --git a/.tool-versions b/.tool-versions index 8c42f23..ccba328 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -golang 1.20.12 +golang 1.20.13 diff --git a/README.adoc b/README.adoc index db1a538..8a048f5 100644 --- a/README.adoc +++ b/README.adoc @@ -2,7 +2,7 @@ --- image:https://img.shields.io/github/go-mod/go-version/itbasis/go-core-utils[GitHub go.mod Go version] image:https://img.shields.io/badge/godoc-reference-blue.svg[link=https://pkg.go.dev/github.com/itbasis/go-core-utils] -image:https://img.shields.io/github/v/tag/itbasis/go-core-utils[GitHub tag (with filter)] +image:https://img.shields.io/github/v/release/itbasis/go-core-utils[GitHub Release] https://goreportcard.com/report/github.com/itbasis/go-core-utils[image:https://goreportcard.com/badge/github.com/itbasis/go-core-utils[Go Report Card]] . Used by https://github.com/caarlos0/env[env]