diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d878a0f..fb15f10 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,10 +8,14 @@ jobs: golangci: name: Run golangci-lint runs-on: ubuntu-latest + env: + GOPRIVATE: github.com/ojo-network/indexer + GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} steps: - uses: actions/setup-go@v4 with: go-version: '1.20' + - run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/ - uses: actions/checkout@v4 - name: golangci-lint uses: golangci/golangci-lint-action@v3