Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Merge pull request #47 from haines/dependabot/go_modules/github.com/d… #111

Merge pull request #47 from haines/dependabot/go_modules/github.com/d…

Merge pull request #47 from haines/dependabot/go_modules/github.com/d… #111

Workflow file for this run

name: test
on:
- push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v2
- name: Find Go version
id: go-version
run: |
printf "::set-output name=go-version::"
scripts/go-version
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ steps.go-version.outputs.go-version }}
- name: Run tests
run: |
go test \
-coverprofile coverage.out \
-race \
-v \
./...
- name: Upload test coverage
uses: codecov/codecov-action@v1
with:
files: coverage.out