|
60 | 60 | - "examples/lima/**"
|
61 | 61 | db:
|
62 | 62 | - "**.sql"
|
63 |
| - - "coderd/database/queries/**" |
64 |
| - - "coderd/database/migrations" |
65 |
| - - "coderd/database/sqlc.yaml" |
66 |
| - - "coderd/database/dump.sql" |
| 63 | + - "coderd/database/**" |
67 | 64 | go:
|
68 | 65 | - "**.sql"
|
69 | 66 | - "**.go"
|
@@ -144,7 +141,7 @@ jobs:
|
144 | 141 |
|
145 | 142 | # Check for any typos
|
146 | 143 | - name: Check for typos
|
147 |
| - uses: crate-ci/typos@v1.16.25 |
| 144 | + uses: crate-ci/typos@v1.17.0 |
148 | 145 | with:
|
149 | 146 | config: .github/workflows/typos.toml
|
150 | 147 |
|
@@ -191,7 +188,7 @@ jobs:
|
191 | 188 | go install storj.io/drpc/cmd/protoc-gen-go-drpc@v0.0.33
|
192 | 189 | go install golang.org/x/tools/cmd/goimports@latest
|
193 | 190 | go install github.com/mikefarah/yq/v4@v4.30.6
|
194 |
| - go install github.com/golang/mock/mockgen@v1.6.0 |
| 191 | + go install go.uber.org/mock/mockgen@v0.4.0 |
195 | 192 |
|
196 | 193 | - name: Install Protoc
|
197 | 194 | run: |
|
@@ -224,7 +221,7 @@ jobs:
|
224 | 221 | uses: ./.github/actions/setup-node
|
225 | 222 |
|
226 | 223 | - name: Setup Go
|
227 |
| - uses: buildjet/setup-go@v4 |
| 224 | + uses: buildjet/setup-go@v5 |
228 | 225 | with:
|
229 | 226 | # This doesn't need caching. It's super fast anyways!
|
230 | 227 | cache: false
|
@@ -324,7 +321,6 @@ jobs:
|
324 | 321 | runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
|
325 | 322 | needs:
|
326 | 323 | - changes
|
327 |
| - - sqlc-vet # No point in testing the DB if the queries are invalid |
328 | 324 | if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
|
329 | 325 | # This timeout must be greater than the timeout set by `go test` in
|
330 | 326 | # `make test-postgres` to ensure we receive a trace of running
|
@@ -454,7 +450,7 @@ jobs:
|
454 | 450 | go install storj.io/drpc/cmd/protoc-gen-go-drpc@v0.0.33
|
455 | 451 | go install golang.org/x/tools/cmd/goimports@latest
|
456 | 452 | go install github.com/mikefarah/yq/v4@v4.30.6
|
457 |
| - go install github.com/golang/mock/mockgen@v1.6.0 |
| 453 | + go install go.uber.org/mock/mockgen@v0.4.0 |
458 | 454 |
|
459 | 455 | - name: Install Protoc
|
460 | 456 | run: |
|
@@ -596,7 +592,7 @@ jobs:
|
596 | 592 | go install storj.io/drpc/cmd/protoc-gen-go-drpc@v0.0.33
|
597 | 593 | go install golang.org/x/tools/cmd/goimports@latest
|
598 | 594 | go install github.com/mikefarah/yq/v4@v4.30.6
|
599 |
| - go install github.com/golang/mock/mockgen@v1.6.0 |
| 595 | + go install go.uber.org/mock/mockgen@v0.4.0 |
600 | 596 |
|
601 | 597 | - name: Setup sqlc
|
602 | 598 | uses: ./.github/actions/setup-sqlc
|
@@ -685,7 +681,7 @@ jobs:
|
685 | 681 | uses: ./.github/actions/setup-go
|
686 | 682 |
|
687 | 683 | - name: Install nfpm
|
688 |
| - run: go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v2.16.0 |
| 684 | + run: go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v2.35.1 |
689 | 685 |
|
690 | 686 | - name: Install zstd
|
691 | 687 | run: sudo apt-get install -y zstd
|
|
0 commit comments