diff --git a/doc/md/ci.mdx b/doc/md/ci.mdx
index b43c36b53b..52467b8a0a 100644
--- a/doc/md/ci.mdx
+++ b/doc/md/ci.mdx
@@ -120,6 +120,7 @@ values={[
{label: 'MySQL', value: 'mysql'},
{label: 'MariaDB', value: 'maria'},
{label: 'PostgreSQL', value: 'postgres'},
+ {label: 'SQLite', value: 'sqlite'},
]}>
@@ -251,6 +252,35 @@ jobs:
dev-url: postgres://postgres:pass@localhost:5432/test?sslmode=disable
```
+
+
+
+```yaml
+name: Atlas CI
+on:
+ # Run whenever code is changed in the master branch,
+ # change this to your root branch.
+ push:
+ branches:
+ - master
+ # Run on PRs where something changed under the `ent/migrate/migrations/` directory.
+ pull_request:
+ paths:
+ - 'ent/migrate/migrations/*'
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3.0.1
+ with:
+ fetch-depth: 0 # Mandatory unless "latest" is set below.
+ - uses: ariga/atlas-action@v0
+ with:
+ dir: ent/migrate/migrations
+ dir-format: golang-migrate # Or: atlas, goose, dbmate
+ dev-url: sqlite://./dev.db?_fk=1
+```
+