ceremonyclient/go-libp2p/.github/workflows/go-test.yml
2024-06-07 06:25:43 +00:00

23 lines
493 B
YAML

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 }}