Skip to content

Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 #57

Bump github.com/stretchr/testify from 1.8.4 to 1.9.0

Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 #57

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Linter
uses: golangci/golangci-lint-action@v2
with:
version: latest
- name: Test Coverage
run: go test -v -race -count=1 -coverprofile=coverage.out ./...
- name: Convert coverage to lcov
uses: jandelgado/gcov2lcov-action@v1.0.4
with:
infile: coverage.out
outfile: coverage.lcov
- name: Coveralls
uses: coverallsapp/github-action@v1.1.0
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: coverage.lcov