Skip to content

Add BranchPushIndividually repo config #320

Add BranchPushIndividually repo config

Add BranchPushIndividually repo config #320

Workflow file for this run

name: golang build
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Build
working-directory: ./
run: go build -v ./...
- name: Test
working-directory: ./
run: go test -race -coverprofile=./coverage.txt -covermode=atomic ./...
- name: Check goreleaser file
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: check
#- name: Upload coverage
# uses: codecov/codecov-action@v2
# with:
# files: ./coverage.txt