Skip to content

feat: fix go version in yaml #12

feat: fix go version in yaml

feat: fix go version in yaml #12

Workflow file for this run

name: Build & Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
e2e-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.17'
- name: Test with coverage
run: go test -v -cover -timeout 5m -coverpkg=./... -parallel 1 -covermode=atomic -gcflags=all=-l $(go list ./test/...) -coverprofile=coverage.txt
- name: Upload coverage reports to Codecov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN}