From 818497fd7d64cfaec5d27e2677e195befd8c1b60 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 2 Dec 2019 17:20:08 +0100 Subject: [PATCH] build(actions):remove build step and add -race --- .github/workflows/release.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 075dbaa..a63c75d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,24 +13,10 @@ jobs: uses: actions/setup-go@v1 with: go-version: ${{ matrix.go }} - - run: go test ./pkg/... - build: - runs-on: ubuntu-18.04 - needs: test - strategy: - matrix: - go: ['1.11', '1.12', '1.13'] - name: Go ${{ matrix.go }} build - steps: - - uses: actions/checkout@master - - name: Setup go - uses: actions/setup-go@v1 - with: - go-version: ${{ matrix.go }} - - run: go run main.go + - run: go test -race ./pkg/... release: runs-on: ubuntu-18.04 - needs: [test, build] + needs: [test] steps: - name: Source checkout uses: actions/checkout@v1 @@ -41,4 +27,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - npx semantic-release \ No newline at end of file + npx semantic-release