Merge pull request #809 from etcd-io/dependabot/go_modules/golang.org… #675
This file contains 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: Tests AMD64 | |
permissions: read-all | |
on: [push, pull_request] | |
jobs: | |
test-linux-amd64: | |
uses: ./.github/workflows/tests-template.yml | |
test-linux-amd64-race: | |
uses: ./.github/workflows/tests-template.yml | |
with: | |
runs-on: ubuntu-latest-8-cores | |
targets: "['linux-unit-test-4-cpu-race']" | |
coverage: | |
needs: | |
- test-linux-amd64 | |
- test-linux-amd64-race | |
runs-on: ubuntu-latest-8-cores | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- id: goversion | |
run: echo "goversion=$(cat .go-version)" >> "$GITHUB_OUTPUT" | |
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | |
with: | |
go-version: ${{ steps.goversion.outputs.goversion }} | |
- run: make coverage |