This repository was archived by the owner on Apr 27, 2025. It is now read-only.
fix(deps): update module go.opentelemetry.io/build-tools/multimod to … #132
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
GOPROXY: "https://proxy.golang.org" | |
jobs: | |
test: | |
name: "go test" | |
strategy: | |
matrix: | |
go-version: [ 1.23.x, 1.24.x ] | |
platform: [ ubuntu-latest, windows-latest, macos-latest ] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
check-latest: true | |
cache-dependency-path: "**/go.sum" | |
- run: go version | |
- name: Run tests | |
run: make test-coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
fail_ci_if_error: true | |
files: ./coverage.txt | |
verbose: true |