This is an automated cherry-pick of #8071 #1839
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
on: [push, pull_request] | ||
name: Check PD | ||
jobs: | ||
statics: | ||
runs-on: ubuntu-latest | ||
steps: | ||
<<<<<<< HEAD | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16 | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Restore cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/go/pkg/mod | ||
~/.cache/go-build | ||
**/.tools | ||
**/.dashboard_download_cache | ||
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-golang | ||
======= | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
>>>>>>> acbb9afaa (ci: transitioning action version from node 16 to node 20 (#8071)) | ||
- name: Make Check | ||
run: | | ||
make build | ||
make check |