Skip to content

core: update README.md #36

core: update README.md

core: update README.md #36

Workflow file for this run

name: PR
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Cache Go modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Tests
run: |
go mod download
go test -race -v -coverprofile=profile.cov ./...
- name: Publish go coverage
uses: codecov/codecov-action@v3.1.3
with:
file: ./profile.cov
name: go-codecov