diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8be37d0..6419b81 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,9 +9,6 @@ on: permissions: contents: read -env: - GOPRIVATE: github.com/taigrr/* - jobs: lint: runs-on: ubuntu-latest @@ -22,9 +19,6 @@ jobs: with: go-version-file: go.mod - - name: Configure private modules - run: git config --global url."https://${{ secrets.GH_PAT }}@github.com/".insteadOf "https://github.com/" - - name: Check goimports run: | go install golang.org/x/tools/cmd/goimports@latest @@ -44,9 +38,6 @@ jobs: with: go-version-file: go.mod - - name: Configure private modules - run: git config --global url."https://${{ secrets.GH_PAT }}@github.com/".insteadOf "https://github.com/" - - name: Run tests run: go test -race -v ./... @@ -59,8 +50,5 @@ jobs: with: go-version-file: go.mod - - name: Configure private modules - run: git config --global url."https://${{ secrets.GH_PAT }}@github.com/".insteadOf "https://github.com/" - - name: Build run: go build -v ./... diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8e7775f..1487557 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,9 +8,6 @@ on: permissions: contents: write -env: - GOPRIVATE: github.com/taigrr/* - jobs: release: runs-on: ubuntu-latest @@ -23,9 +20,6 @@ jobs: with: go-version-file: go.mod - - name: Configure private modules - run: git config --global url."https://${{ secrets.GH_PAT }}@github.com/".insteadOf "https://github.com/" - - uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser-pro