Skip to content

Commit 4bf6f76

Browse files
committed
Drop ci.yml changes; rely on existing 'go test ./...' step
TestGoModHasNoReplaceDirectives already runs as part of the existing test job, so no separate CI job is needed to catch regressions of #4397.
1 parent f894c03 commit 4bf6f76

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,6 @@ jobs:
2222
CGO_ENABLED: "0"
2323
GOOS: ${{ matrix.goos }}
2424
GOARCH: ${{ matrix.goarch }}
25-
# Runs the TestGoModHasNoReplaceDirectives test (and nothing else) as its own
26-
# job so a regression of https://github.com/sqlc-dev/sqlc/issues/4397 is easy
27-
# to spot in the GitHub UI. The full 'test' job below runs the same check as
28-
# part of 'go test ./...', but it takes much longer to finish and a failure
29-
# there is less obvious at a glance.
30-
go_install:
31-
name: verify 'go install ...@latest' compatibility
32-
runs-on: ubuntu-24.04
33-
steps:
34-
- uses: actions/checkout@v6
35-
- uses: actions/setup-go@v6
36-
with:
37-
go-version: '1.26.2'
38-
- name: check go.mod has no replace directives
39-
run: go test -run TestGoModHasNoReplaceDirectives -v .
40-
4125
test:
4226
runs-on: ubuntu-24.04
4327
steps:

0 commit comments

Comments
 (0)