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
This commit is contained in:
Mateusz Woś 2023-12-29 12:54:16 +01:00 committed by GitHub
parent 12e9241da2
commit 304c9d6794
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -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 .

View file

@ -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)