Files
gin-swagger/.github/workflows/ci.yml
T
Bogdan U 560c440e4a GitHub actions workflow (#159)
* migrate to GitHub actions

* update example

* update README.md
2021-09-23 22:20:10 +03:00

20 lines
490 B
YAML

on:
pull_request:
branches: [ master ]
jobs:
test:
strategy:
matrix:
go: [ '1.13.x', '1.14.x', '1.15.x', '1.16.x' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- name: test
run: go test -coverprofile=coverage.txt -covermode=atomic
- name: coverage
run: bash <(curl -s https://codecov.io/bash)