Skip to content

Commit

Permalink
chore: upgrade all out of date tools (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas authored Sep 23, 2023
1 parent 07f833a commit 7499d47
Show file tree
Hide file tree
Showing 50 changed files with 52 additions and 44 deletions.
21 changes: 12 additions & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ linters:
- musttag
- gofmt # autofmt
- interfacebloat
- tagalign
- nolintlint

linters-settings:
exhaustive:
Expand All @@ -87,15 +89,15 @@ linters-settings:
disabled-checks:
- ifElseChain
depguard:
list-type: blacklist
include-go-root: true
packages-with-error-message:
- errors: "use github.com/alecthomas/errors"
- github.com/pkg/errors: "use github.com/alecthomas/errors"
- github.com/stretchr/testify: "use alecthomas/assert"
forbidigo:
forbid:
- 'fmt\.Errorf'
rules:
main:
deny:
- pkg: errors
desc: "use github.com/alecthomas/errors"
- pkg: github.com/pkg/errors
desc: "use github.com/alecthomas/errors"
- pkg: github.com/stretchr/testify
desc: "use alecthomas/assert"
wrapcheck:
ignorePackageGlobs:
- github.com/TBD54566975/ftl/*
Expand Down Expand Up @@ -124,3 +126,4 @@ issues:
- "blank-imports"
- 'should have comment \(or a comment on this block\) or be unexported'
- caseOrder
- unused-parameter
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion bin/.sqlc-1.20.0.pkg

This file was deleted.

File renamed without changes.
1 change: 0 additions & 1 deletion bin/.watchexec-1.22.3.pkg

This file was deleted.

File renamed without changes.
1 change: 0 additions & 1 deletion bin/act

This file was deleted.

2 changes: 1 addition & 1 deletion bin/bit
2 changes: 1 addition & 1 deletion bin/buf
1 change: 0 additions & 1 deletion bin/caddy

This file was deleted.

2 changes: 1 addition & 1 deletion bin/corepack
2 changes: 1 addition & 1 deletion bin/dbmate
2 changes: 1 addition & 1 deletion bin/go
2 changes: 1 addition & 1 deletion bin/gofmt
2 changes: 1 addition & 1 deletion bin/golangci-lint
2 changes: 1 addition & 1 deletion bin/grpcurl
2 changes: 1 addition & 1 deletion bin/helm
2 changes: 1 addition & 1 deletion bin/k3d
2 changes: 1 addition & 1 deletion bin/kapt
2 changes: 1 addition & 1 deletion bin/kotlin
2 changes: 1 addition & 1 deletion bin/kotlin-dce-js
2 changes: 1 addition & 1 deletion bin/kotlinc-js
2 changes: 1 addition & 1 deletion bin/kotlinc-jvm
2 changes: 1 addition & 1 deletion bin/kubectl
2 changes: 1 addition & 1 deletion bin/node
2 changes: 1 addition & 1 deletion bin/npm
2 changes: 1 addition & 1 deletion bin/npx
2 changes: 1 addition & 1 deletion bin/pre-commit
2 changes: 1 addition & 1 deletion bin/protoc-gen-buf-breaking
2 changes: 1 addition & 1 deletion bin/protoc-gen-buf-lint
2 changes: 1 addition & 1 deletion bin/protoc-gen-go
2 changes: 1 addition & 1 deletion bin/sqlc
2 changes: 1 addition & 1 deletion bin/watchexec
7 changes: 5 additions & 2 deletions go-runtime/compile/schema_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package compile

import (
"github.com/TBD54566975/ftl/backend/schema"
"github.com/alecthomas/assert/v2"
"go/ast"
"go/types"
"testing"

"github.com/alecthomas/assert/v2"

"github.com/TBD54566975/ftl/backend/schema"
)

func TestParseDirectives(t *testing.T) {
Expand Down Expand Up @@ -33,6 +35,7 @@ func TestParseDirectives(t *testing.T) {
},
}
for _, tt := range tests {
tt := tt
t.Run(tt.name, func(t *testing.T) {
got, err := directiveParser.ParseString("", tt.input)
assert.NoError(t, err)
Expand Down
4 changes: 3 additions & 1 deletion protos/xyz/block/ftl/v1/console/console.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion protos/xyz/block/ftl/v1/ftl.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion protos/xyz/block/ftl/v1/schema/runtime.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion protos/xyz/block/ftl/v1/schema/schema.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7499d47

Please sign in to comment.