Skip to content

Merge pull request #16 from ma91n/patch-1 #47

Merge pull request #16 from ma91n/patch-1

Merge pull request #16 from ma91n/patch-1 #47

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.20', '1.19' ]
name: Go ${{ matrix.go }} test
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Install GolangCI-Lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.2
- run: make test_coverage
- name: Upload code coverage to codecov
if: matrix.go == '1.20'
uses: codecov/codecov-action@v3
with:
file: ./coverage.out
- run: make lint