diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f09042e..bd13ce0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,11 @@ name: build on: + pull_request: push: + tags: + - v* + branches: + - main concurrency: group: ${{ github.workflow }}-${{ github.event.number || github.ref }} @@ -32,14 +37,14 @@ jobs: name: Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - with: - submodules: true - fetch-depth: 0 - - uses: actions/setup-go@v4 - with: - go-version-file: go.mod - check-latest: true + - uses: actions/checkout@v3 + with: + submodules: true + fetch-depth: 0 + - uses: actions/setup-go@v4 + with: + go-version-file: go.mod + check-latest: true - - run: git config --global url.https://$GH_ACCESS_TOKEN@github.com.insteadOf https://github.com - - run: make test + - run: git config --global url.https://$GH_ACCESS_TOKEN@github.com.insteadOf https://github.com + - run: make test