chore: use errors.New to replace fmt.Errorf with no parameters #7933
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: ./.github/workflows/go-test-template.yml | |
with: | |
go-versions: '["1.22.x", "1.23.x"]' | |
secrets: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |