support tiflash resource control #1612
Workflow file for this run
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: Golang Test | |
on: | |
push: | |
branches: | |
- master | |
- release-6.0 | |
- release-5.0 | |
- release-4.0 | |
- release-3.0 | |
pull_request: | |
branches: | |
- master | |
- release-6.0 | |
- release-5.0 | |
- release-4.0 | |
- release-3.0 | |
jobs: | |
golang-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Download protoc | |
env: | |
PROTOC_VERSION: "3.8.0" | |
run: | | |
curl -L https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/protoc-$PROTOC_VERSION-linux-x86_64.zip -o protoc.zip &&\ | |
unzip protoc.zip -d protoc | |
- name: Test Golang | |
run: | | |
export PATH="$(pwd)/protoc/bin:$PATH" | |
make go && git diff --quiet go.mod go.sum |