Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
path: bin/tbc

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
uses: golangci/golangci-lint-action@v9.2.0
with:
version: v1.59.1
version: v2.11.4

- name: Run tests
run: go test ./...
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:

- name: Build monorepo for the first time
run: >
cd end2end/monorepo &&
cd end2end/monorepo &&
$GITHUB_WORKSPACE/tbc pnpm build 2>&1 | tee $GITHUB_WORKSPACE/first_build.log

- name: Check that cache worked correctly
Expand All @@ -113,7 +113,7 @@ jobs:

- name: Build monorepo for the second time to check that artifacts were taken from the remote cache
run: >
cd end2end/monorepo &&
cd end2end/monorepo &&
$GITHUB_WORKSPACE/tbc pnpm build 2>&1 | tee $GITHUB_WORKSPACE/second_build.log

- name: Check that cache worked correctly for the second time
Expand All @@ -131,5 +131,5 @@ jobs:

- name: Check the log
run: >
grep -q "FULL TURBO" third_build.log &&
grep -q "FULL TURBO" third_build.log &&
grep -q "cache proxy failed, just running the command" third_build.log
27 changes: 21 additions & 6 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
version: "2"
linters:
enable:
- bodyclose
- canonicalheader
- contextcheck
- decorder
- exhaustive
- gci
- goconst

# https://github.com/golangci/golangci-lint/issues/4743
linters-settings:
errcheck:
ignore: ''
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- third_party$
- builtin$
- examples$
formatters:
enable:
- gci
exclusions:
generated: lax
paths:
- third_party$
- builtin$
- examples$
3 changes: 2 additions & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
golang 1.22.2
golang 1.25.7
golangci-lint latest
2 changes: 1 addition & 1 deletion end2end/.tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 20.12.0
nodejs 20
2 changes: 1 addition & 1 deletion end2end/monorepo/apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@repo/ui": "workspace:*",
"react": "19.0.0-rc-f994737d14-20240522",
"react-dom": "19.0.0-rc-f994737d14-20240522",
"next": "15.0.0-rc.0"
"next": "15.5.15"
},
"devDependencies": {
"@repo/eslint-config": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion end2end/monorepo/apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@repo/ui": "workspace:*",
"react": "19.0.0-rc-f994737d14-20240522",
"react-dom": "19.0.0-rc-f994737d14-20240522",
"next": "15.0.0-rc.0"
"next": "15.5.15"
},
"devDependencies": {
"@repo/eslint-config": "workspace:*",
Expand Down
Loading
Loading