Skip to content

Merge pull request #40 from leonidasdeim/dependabot/go_modules/golang… #119

Merge pull request #40 from leonidasdeim/dependabot/go_modules/golang…

Merge pull request #40 from leonidasdeim/dependabot/go_modules/golang… #119

Workflow file for this run

name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./... -coverprofile=coverage.txt -covermode=atomic -timeout=10m
- name: Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}