Skip to content

chore!: export codec methods #301

chore!: export codec methods

chore!: export codec methods #301

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- master
- release/**
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
goarch: ["amd64"]
timeout-minutes: 5
steps:
- uses: actions/setup-go@v2
with:
go-version: "1.18"
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: build
run: GOOS=linux GOARCH=${{ matrix.goarch }} go build
if: env.GIT_DIFF
- name: test & coverage report creation
run: |
GOARCH=${{ matrix.goarch }} go test ./... -mod=readonly -timeout 8m -race -coverprofile=coverage.txt -covermode=atomic
if: env.GIT_DIFF
- uses: codecov/codecov-action@v1.0.15
with:
file: ./coverage.txt
if: env.GIT_DIFF