Skip to content

Bump github.com/stretchr/testify from 1.6.1 to 1.8.4 #74

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

Bump github.com/stretchr/testify from 1.6.1 to 1.8.4 #74

Workflow file for this run

name: Go
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
strategy:
matrix:
go-version: ['1.15', '1.16', '1.17', '1.19']
# os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ubuntu-latest
# runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Build project
run: go build -v .
- name: Run tests
run: go test -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.txt
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2