forked from tikv/pd
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (34 loc) · 899 Bytes
/
check.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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