Skip to content

Merge branch 'main' into wb/add-mise-toml #5199

Merge branch 'main' into wb/add-mise-toml

Merge branch 'main' into wb/add-mise-toml #5199

Workflow file for this run

name: Go Lint
on:
workflow_dispatch:
push:
env:
GOPRIVATE: "github.com/sourcegraph/*"
PRIVATE_TOKEN: "${{ secrets.PRIVATE_SG_ACCESS_TOKEN }}"
jobs:
go-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v6.1.0
with:
go-version-file: '.tool-versions'
- name: Enable pulling Go modules from private sourcegraph/sourcegraph
run: git config --global url."https://${PRIVATE_TOKEN}@github.com/sourcegraph/".insteadOf "https://github.com/sourcegraph/"
- run: ./dev/go-lint.sh