Skip to content

priority config

priority config #256

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
go: [ "1.19", "1.20" ]
name: build & test
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
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)