Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade ent and atlas #554

Merged
merged 4 commits into from
Nov 11, 2023
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
The table of contents is too big for display.
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 @@ -16,16 +16,16 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21
- name: Run linters
uses: golangci/golangci-lint-action@v3.2.0
uses: golangci/golangci-lint-action@v3.7.0
with:
version: v1.48.0
version: v1.55.2
test:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.18', '1.19']
go: ['1.20', '1.21']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand All @@ -47,7 +47,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19'
go-version: '1.21'
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
Expand Down
8 changes: 2 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
go: '1.19'
go: '1.21'
timeout: 10m

linters-settings:
Expand All @@ -25,26 +25,22 @@ linters:
disable-all: true
enable:
- bodyclose
- deadcode
- depguard
- dogsled
- dupl
- errcheck
- gocritic
# - gofmt; Enable back when upgrading CI to Go 1.20.
# - gofmt; disabled because it conflicts with goheader
- goheader
- gosec
- gosimple
- govet
- ineffassign
- misspell
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unused
- varcheck
- whitespace

issues:
Expand Down
23 changes: 3 additions & 20 deletions entgql/internal/todo/ent/billproduct/where.go

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

6 changes: 5 additions & 1 deletion entgql/internal/todo/ent/billproduct_create.go

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

2 changes: 1 addition & 1 deletion entgql/internal/todo/ent/billproduct_delete.go

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

52 changes: 50 additions & 2 deletions entgql/internal/todo/ent/billproduct_update.go

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

23 changes: 3 additions & 20 deletions entgql/internal/todo/ent/category/where.go

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

6 changes: 5 additions & 1 deletion entgql/internal/todo/ent/category_create.go

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

2 changes: 1 addition & 1 deletion entgql/internal/todo/ent/category_delete.go

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

36 changes: 34 additions & 2 deletions entgql/internal/todo/ent/category_update.go

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

Loading