diff --git a/.github/workflows/style_check.yml b/.github/workflows/style_check.yml index dea3f50..ff73988 100644 --- a/.github/workflows/style_check.yml +++ b/.github/workflows/style_check.yml @@ -12,12 +12,11 @@ on: - '**.md' jobs: run: - name: go style check + name: vet and gofmt strategy: matrix: go-version: [1.13.x, 1.14.x] - platform: [ubuntu-latest] - runs-on: ${{ matrix.platform }} + runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v2 diff --git a/.github/workflows/ut_check.yml b/.github/workflows/ut_check.yml index d8f0b01..ae5d8ee 100644 --- a/.github/workflows/ut_check.yml +++ b/.github/workflows/ut_check.yml @@ -16,8 +16,7 @@ jobs: strategy: matrix: go-version: [1.13.x, 1.14.x] - platform: [ubuntu-latest] - runs-on: ${{ matrix.platform }} + runs-on: ubuntu-latest steps: - name: Install Go uses: actions/setup-go@v2 diff --git a/README.md b/README.md index 69e5b87..a0bf106 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +![](https://github.com/qiniu/goc/workflows/ut-check/badge.svg) +![](https://github.com/qiniu/goc/workflows/style-check/badge.svg) + # goc A Comprehensive Coverage Testing System for The Go Programming Language