mirror of
https://github.com/shopspring/decimal.git
synced 2024-11-27 06:25:08 +01:00
18 lines
385 B
YAML
18 lines
385 B
YAML
|
name: decimal-ci
|
||
|
on: [push]
|
||
|
jobs:
|
||
|
ci-job:
|
||
|
runs-on: ubuntu-latest
|
||
|
strategy:
|
||
|
matrix:
|
||
|
go: [ '1.7.x', '1.15', '1.16', '1.17', '1.x' ]
|
||
|
name: Go ${{ matrix.go }}
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Use go
|
||
|
uses: actions/setup-go@v2
|
||
|
with:
|
||
|
go-version: ${{ matrix.go }}
|
||
|
- run: go build .
|
||
|
- run: go test -v
|