From 1801e5eaaa400fd1fdfdc4064f0c7a8f5871506c Mon Sep 17 00:00:00 2001 From: swithek Date: Wed, 23 Mar 2022 22:35:04 +0000 Subject: [PATCH] update github workflow file --- .github/workflows/go.yml | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 460430a..2a6e0bb 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,26 +1,14 @@ name: Go -on: - push: - branches: - - master - - v3-dev - pull_request: - branches: - - master - - v3-dev - +on: [push, pull_request] jobs: test: - name: Testing runs-on: ubuntu-latest steps: - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: ^1.18 - + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: ^1.18 - name: Checkout code - uses: actions/checkout@v2 - + uses: actions/checkout@v3 - name: Run tests - run: go test -race -shuffle -failfast -timeout 1m ./... + run: go test -race -shuffle -timeout 1m ./...