Skip to content

Commit

Permalink
chore: test against supported Go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
blgm committed Feb 13, 2021
1 parent 5e5d095 commit 736613b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 23 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/go.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: test

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ '1.14', '1.15' ]
name: Go ${{ matrix.version }}
steps:
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.version }}
- uses: actions/checkout@v2
- run: ./test.sh
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![CI](https://github.com/cloudfoundry/jsonry/workflows/Go/badge.svg?branch=main)](https://github.com/cloudfoundry/jsonry/actions?query=workflow%3AGo)
[![test](https://github.com/cloudfoundry/jsonry/workflows/test/badge.svg?branch=main)](https://github.com/cloudfoundry/jsonry/actions?query=workflow%3Atest+branch%3Amain)
[![go.dev reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white&style=flat-square)](https://pkg.go.dev/code.cloudfoundry.org/jsonry?tab=doc)

# JSONry
Expand Down

0 comments on commit 736613b

Please sign in to comment.