Skip to content

update: added configuration of Github Enteprise #449

update: added configuration of Github Enteprise

update: added configuration of Github Enteprise #449

Workflow file for this run

name: test
on:
pull_request:
branches:
- "**"
push:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macOS-latest
steps:
- name: setup go
uses: actions/setup-go@v3
with:
go-version: 1.x
- name: checkout
uses: actions/checkout@v3
- name: test
run: go test -race -coverprofile coverage.out -covermode atomic ./...
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Send coverage
uses: codecov/codecov-action@v1