Correct Read Error Format #40416
Workflow file for this run
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: CI Scripts | |
on: | |
merge_group: | |
pull_request: | |
jobs: | |
lint-scripts: | |
# We don't directly merge dependabot PRs, so let's not waste the resources | |
if: ${{ (github.event_name == 'pull_request' || github.event_name == 'schedule') && github.actor != 'dependabot[bot]' }} | |
runs-on: ubuntu-latest | |
permissions: | |
# For golangci-lint-actions to annotate code in the PR. | |
checks: write | |
contents: read | |
# For golangci-lint-action's `only-new-issues` option. | |
pull-requests: read | |
steps: | |
- uses: actions/[email protected] | |
- name: Golang Lint | |
uses: ./.github/actions/golangci-lint | |
with: | |
id: scripts | |
name: lint-scripts | |
go-directory: core/scripts | |
go-version-file: core/scripts/go.mod | |
go-module-file: core/scripts/go.sum | |
test-scripts: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup Go | |
uses: ./.github/actions/setup-go | |
with: | |
go-version-file: core/scripts/go.mod | |
go-module-file: core/scripts/go.sum | |
- name: Run Tests | |
shell: bash | |
working-directory: core/scripts | |
run: go test ./... |