name: Go Test on: pull_request: push: branches: ["master","release-v0[0-9][0-9]"] workflow_dispatch: permissions: contents: read concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }} cancel-in-progress: true jobs: go-test: uses: libp2p/uci/.github/workflows/go-test.yml@v1.0 with: go-versions: '["1.21.x", "1.22.x"]' secrets: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}