mirror of
https://github.com/ii64/sonic.git
synced 2026-06-21 00:46:43 +08:00
* fix: go1.15 CANNOT add gcWriteBarrier due to linkname bug * add go1.15 push-check Co-authored-by: duanyi.aster <duanyi.aster@bytedance.com>
24 lines
527 B
YAML
24 lines
527 B
YAML
name: Push Check Go1.15
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.15
|
|
|
|
- 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: go test -v -race -covermode=atomic -coverprofile=coverage.out ./...
|