mirror of
https://github.com/shopspring/decimal.git
synced 2024-11-25 05:40:49 +01:00
304c9d6794
* Update Github Actions libraries to the latest working version * Update badge to show status from master branch only
17 lines
385 B
YAML
17 lines
385 B
YAML
name: ci
|
|
on: [push]
|
|
jobs:
|
|
ci-job:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
go: [ '1.7.x', '1.18', '1.19', '1.20', '1.21', '1.x' ]
|
|
name: Go ${{ matrix.go }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Use go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ matrix.go }}
|
|
- run: go build .
|
|
- run: go test -v
|