Skip to content

Merge pull request #18 from nextmicro/dependabot/go_modules/golang.or… #196

Merge pull request #18 from nextmicro/dependabot/go_modules/golang.or…

Merge pull request #18 from nextmicro/dependabot/go_modules/golang.or… #196

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
go: ["1.19.0"]
name: build & test
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Go Build
run: go build -v ./...
- name: Go Vet
run: go vet ./...
- name: Go Test
run: go test -v -coverprofile=coverage.out -covermode=atomic -race ./...
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)