Skip to content

use correct go version in pipeline #2

use correct go version in pipeline

use correct go version in pipeline #2

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.19'
- name: Set up goveralls
run: go install github.com/mattn/goveralls@latest
- name: Run unit tests
run: go test -race -covermode atomic -coverprofile=covprofile ./...
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
run: goveralls -coverprofile=covprofile -service=github