Commit Graph

102 Commits

Author SHA1 Message Date
Jannik Clausen
6109670fa2 entc/integration: add integration testing for PG16 and PG17 (#4353) 2025-03-17 10:04:41 +01:00
Giau. Tran Minh
2b1ad7e4b0 chore: bump x/tools to latest (#4329)
* chore: bump `x/tools` to latest

* chore: fixed lint on go1.24
2025-02-13 16:09:44 +07:00
Ariel Mashraki
009b396d7e schema/field: allow setting time fields as unique (#4220)
* schema/field: allow setting time fields as unique

* .github: goodbye crate-ci/typos
2024-09-19 21:59:59 +03:00
Giau. Tran Minh
63596a9dca chore: pin Go to the minor version (1.23) (#4209)
* chore: pin Go to the minor version

* chore: ignore `hax`, `udo` and `leafs`
2024-09-13 14:16:26 +07:00
dependabot[bot]
3af75853f0 build(deps): bump golangci/golangci-lint-action from 3 to 5 (#4033)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 5.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v5)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 16:49:01 +03:00
Giau. Tran Minh
d4560fae62 .github/workflows: add Go 1.22 for CI tests (#3935) 2024-02-07 23:25:07 +07:00
dependabot[bot]
6631ed7172 build(deps): bump actions/cache from 3 to 4 (#3908)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-04 12:49:34 +07:00
Giau. Tran Minh
548edd248a chore: upgrade atlas to latest version (#3932) 2024-02-04 08:46:54 +07:00
Ariel Mashraki
bd8f9eac01 examples/migration: add unique pet name for each owner (#3875) 2023-12-31 12:00:46 +02:00
dependabot[bot]
f3fdbd6950 build(deps): bump actions/setup-go from 3 to 5 (#3850)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 15:31:06 +07:00
Ariel Mashraki
9aba4ae091 entc/gen: initial work for multi-schema migration using atlasgo.io (#3821) 2023-11-13 12:35:31 +02:00
Ariel Mashraki
56719b5c3f .github: bump go version (#3609) 2023-06-21 09:25:06 +03:00
Ariel Mashraki
b49d5f5924 dialect/sql/sqlgraph: expose standard modifier to eager-load N neighbors (#3603) 2023-06-17 12:23:57 +03:00
Giau. Tran Minh
ae8465e703 .github/workflow: sync action (#3513)
* .github/workflow: sync action

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>

* chore: fixed main branch

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>

---------

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>
2023-05-01 00:04:08 +07:00
Giau. Tran Minh
f6de6bb2e0 .github/workflow: added atlas-ci for examples (#3496)
* .github/workflow: added atlas-ci for example

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>

* chore: fixed dir path

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>

* chore: test ci

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>

* chore: update branch and add paths

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>

---------

Signed-off-by: Giau. Tran Minh <hello@giautm.dev>
2023-04-20 19:36:50 +07:00
Ariel Mashraki
0508677ce7 cmd/ent: hide the --idtype flag from generate command (#3490)
The --idtype flag predates the field.<Type>(id) option.
See, https://entgo.io/docs/schema-fields\#id-field.
2023-04-18 15:54:14 +03:00
Zhizhen He
6f847a3492 ci: add spell checker and fix existing typo (#3420)
* ci: add spell checker and fix existing typo

* chore: move typos.toml to .github

* fix: correct config file path
2023-03-30 11:38:29 +03:00
Ariel Mashraki
b435c97c99 entc/integration: move tests to a separate module (#3411) 2023-03-25 10:59:29 +03:00
Anton Telyshev
148f7d51a0 entc/gen: add redundant any() to withHooks to make linters work (#3360)
See https://github.com/golang/go/issues/58633 for more info.
2023-03-12 11:47:07 +02:00
dependabot[bot]
3d41cfdb6e build(deps): bump aws-actions/configure-aws-credentials (#3370)
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 1.7.0 to 2.0.0.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v1.7.0...v2.0.0)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 13:17:06 +02:00
Ariel Mashraki
9517200cb6 schema/field: fallback to native validator if not configured one (#3359) 2023-03-01 12:09:26 +02:00
dependabot[bot]
5e852a16f7 build(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#3269)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-24 15:10:37 +02:00
Ariel Mashraki
b95c3c5251 examples: go generate (#3270) 2023-01-24 10:09:02 +02:00
Pedro Henrique
0f20a3d007 entc/integration: test with Postgres 15 (#3152) 2022-12-07 11:55:06 +02:00
Ariel Mashraki
3f1d7c960e example: add jsonencode using extension (#3142) 2022-12-04 10:38:23 +02:00
dependabot[bot]
fe1ebc55ab build(deps): bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 (#3091)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.3.0...v3.3.1)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-19 22:23:44 +02:00
dependabot[bot]
2d22f7e706 build(deps): bump golangci/golangci-lint-action from 3.2.0 to 3.3.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 15:43:53 +03:00
Ariel Mashraki
0298893924 .github/cd: update node version 2022-08-13 20:15:16 +03:00
Ariel Mashraki
47972774c5 go: bump go/packages version ci to 1.18+1.19 (#2832)
* bumped pkg golang.org/x/tools version to address issue #2826

* .github: update go1.19 in go generate

Co-authored-by: Ankit Patial <ankitpatial@gmail.com>
2022-08-05 11:17:53 +03:00
dependabot[bot]
22c2f3a35d build(deps): bump aws-actions/configure-aws-credentials (#2825)
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v1.6.1...v1.7.0)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-03 10:14:55 +03:00
Ariel Mashraki
1ee2876349 doc/website: add edit and lastedit info to doc pages (#2800) 2022-07-25 18:32:36 +03:00
Ariel Mashraki
3bb5292c83 ci: remove unnecessary build flag from go test (#2672) 2022-06-22 18:20:53 +03:00
Sasha Melentyev
6a166b9e7c ci: bump golangci-lint version (#2577) 2022-06-01 17:11:42 +03:00
Reiji Tokuda
f1c396a435 go: update sqlite3 driver from 1.14.10 to 1.14.13 (#2566)
* modify updating sqlite3 driver

go-sqlite3 driver has been changed. a build tag json1 is the default.

* modify ci file for testing current master branch
2022-05-26 17:55:00 +03:00
dependabot[bot]
bac215a72a build(deps): bump actions/setup-go from 2 to 3 (#2465)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-14 20:10:00 +03:00
Ariel Mashraki
89c339209e entc/gen: add the sql/execquery feature flag (#2447) 2022-04-06 13:34:22 +03:00
dependabot[bot]
e20e658cdd build(deps): bump actions/cache from 2.1.7 to 3 (#2420)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-24 10:45:38 +02:00
MasseElch
286eec4b38 all: drop 1.16 support and run CI on 1.17 and 1.18 (#2411) 2022-03-17 17:30:13 +01:00
dependabot[bot]
8753baae78 build(deps): bump actions/checkout from 2.4.0 to 3 (#2372)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 18:37:58 +02:00
dependabot[bot]
25ebdebcf1 build(deps): bump actions/setup-node from 2.5.1 to 3 (#2365)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.1 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.5.1...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 21:20:25 +02:00
Sasha Melentyev
c7e544c959 ci: bump golangci-lint version (#2294) 2022-01-27 13:19:36 +02:00
dependabot[bot]
05590433a7 build(deps): bump aws-actions/configure-aws-credentials (#2275)
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-19 09:15:05 +02:00
dependabot[bot]
ffd9d9f885 build(deps): bump actions/setup-node from 2.5.0 to 2.5.1
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.5.0...v2.5.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-30 12:15:56 +02:00
dependabot[bot]
6e6e690c4b build(deps): bump actions/setup-node from 2.4.1 to 2.5.0 (#2180)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.1...v2.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-01 11:30:19 +02:00
dependabot[bot]
b3ab990952 build(deps): bump actions/cache from 2.1.6 to 2.1.7 (#2158)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-25 10:30:22 +02:00
dependabot[bot]
1ef79a2d78 build(deps): bump aws-actions/configure-aws-credentials (#2160)
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 1.5.11 to 1.6.0.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v1.5.11...v1.6.0)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-24 13:50:25 +02:00
Alexander Melentyev
f6c9428978 ci: bump golangci-lint version (#2106) 2021-11-09 20:53:30 +02:00
dependabot[bot]
dffc12d44a build(deps): bump actions/checkout from 2.3.5 to 2.4.0 (#2103)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-04 12:33:46 +02:00
Hila Kashai
f32957e81a .github: fix typo in bug template (#2047) 2021-10-20 09:40:10 +03:00
Hila Kashai
d6ebb40f03 .github/issues: add link to ent/bug (#2045) 2021-10-19 18:35:35 +03:00