From 304c9d67940d716d39ac5a4d94286f03752a46ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Wo=C5=9B?= Date: Fri, 29 Dec 2023 12:54:16 +0100 Subject: [PATCH] Update Github Actions libraries to latest working version (#340) * Update Github Actions libraries to the latest working version * Update badge to show status from master branch only --- .github/workflows/ci.yml | 8 ++++---- README.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ffd6762..6cd57da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,16 +1,16 @@ -name: decimal-ci +name: ci on: [push] jobs: ci-job: runs-on: ubuntu-latest strategy: matrix: - go: [ '1.7.x', '1.15', '1.16', '1.17', '1.x' ] + go: [ '1.7.x', '1.18', '1.19', '1.20', '1.21', '1.x' ] name: Go ${{ matrix.go }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - run: go build . diff --git a/README.md b/README.md index 15cdedf..261d348 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # decimal -[![Github Actions](https://github.com/shopspring/decimal/actions/workflows/ci.yml/badge.svg)](https://github.com/shopspring/decimal/actions/workflows/ci.yml) +[![ci](https://github.com/shopspring/decimal/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/shopspring/decimal/actions/workflows/ci.yml) [![GoDoc](https://godoc.org/github.com/shopspring/decimal?status.svg)](https://godoc.org/github.com/shopspring/decimal) [![Go Report Card](https://goreportcard.com/badge/github.com/shopspring/decimal)](https://goreportcard.com/report/github.com/shopspring/decimal)