fix: remove trailing period in error message test #6129
Workflow file for this run
This file contains hidden or 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 CI | |
| on: | |
| workflow_dispatch: | |
| push: | |
| env: | |
| GOPRIVATE: "github.com/sourcegraph/*" | |
| PRIVATE_TOKEN: "${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}" | |
| jobs: | |
| go-test: | |
| strategy: | |
| matrix: | |
| go-version: [1.23.2] | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: (Windows) Enable pulling Go modules from private sourcegraph/sourcegraph | |
| if: runner.os == 'Windows' | |
| run: git config --global url."https://$env:PRIVATE_TOKEN@github.com/sourcegraph/".insteadOf "https://github.com/sourcegraph/" | |
| - name: (Default) Enable pulling Go modules from private sourcegraph/sourcegraph | |
| if: runner.os != 'Windows' | |
| run: git config --global url."https://${PRIVATE_TOKEN}@github.com/sourcegraph/".insteadOf "https://github.com/sourcegraph/" | |
| - run: | | |
| go test -race -v ./... | |
| go test -v ./... |