mirror of
https://github.com/ii64/sonic.git
synced 2026-06-21 00:46:43 +08:00
* feat: ast.Node support ForEach() iteration (DFS) Change-Id: Ia53f1db2814036e12b760dfbb7a21094a6abd541 * feat: support Node's key sorting Change-Id: I0b93d9b4feada853fa2ca9f48277da71948a95be * fmt Change-Id: I1a53170959c08f1a32f02b0f163207254a87362c * test: forbid `checkptr` Change-Id: I6b34f74ee3bad883f515728300bf735a9e10b0d6 * fmt: add comments Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
24 lines
561 B
YAML
24 lines
561 B
YAML
name: Push Check Go1.16
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.16
|
|
|
|
- uses: actions/cache@v2
|
|
with:
|
|
path: ~/go/pkg/mod
|
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-go-
|
|
|
|
- name: Unit Test
|
|
run: GOMAXPROCS=4 go test -v -gcflags=-d=checkptr=0 -race -covermode=atomic -coverprofile=coverage.out ./...
|