Skip to content

added workflows

added workflows #4

Workflow file for this run

name: go-test
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.19.4'
- name: Test With Coverage
run: go test -gcflags=-l -v --race --cover -coverprofile=coverage.txt -covermode=atomic ./...
- name: Run Vet & Lint
run: go vet ./...