Merge pull request #808 from etcd-io/dependabot/github_actions/action… #680
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@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: ${{ steps.goversion.outputs.goversion }} | |
- run: make coverage |