Skip to content

fix macOS ci use apple silicon (#272) #873

fix macOS ci use apple silicon (#272)

fix macOS ci use apple silicon (#272) #873

Workflow file for this run

name: Calculate Code Coverage
on:
push:
paths-ignore:
- "Changelog.md"
- "README.md"
pull_request:
jobs:
coverage:
name: coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: actions/setup-go@v2
with:
go-version: 1.21
- name: mod tidy
run: go mod tidy
- name: generate code coverage report
run: bash .ci/generate_coverage.sh
- name: upload code coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./v3/coverage.txt
name: go-sdk code coverage
fail_ci_if_error: true