diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9411dfad9..d26de3e70 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,6 +29,15 @@ jobs: - run: nix-env -f default.nix -iA spellcheck - run: postgrest-docs-spellcheck + dictcheck: + name: Run dictcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v21 + - run: nix-env -f default.nix -iA dictcheck + - run: postgrest-docs-dictcheck + linkcheck: name: Run linkcheck if: github.base_ref == 'main' diff --git a/.gitignore b/.gitignore index 4c1f95600..ccba409df 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ Pipfile.lock *.log diagrams/db.pdf misspellings +unuseddict diff --git a/default.nix b/default.nix index 5dffe887a..42fbaca76 100644 --- a/default.nix +++ b/default.nix @@ -73,7 +73,9 @@ in | tail -n+2 \ | tr '\n' '\0' \ | xargs -0 -n 1 -i \ - sh -c "grep \"{}\" $FILES > /dev/null || echo \"{}\"" + sh -c "grep \"{}\" $FILES > /dev/null || echo \"{}\"" \ + | tee unuseddict + test ! -s unuseddict ''; linkcheck = diff --git a/postgrest.dict b/postgrest.dict index fad0d5b6b..52956e941 100644 --- a/postgrest.dict +++ b/postgrest.dict @@ -1,6 +1,4 @@ personal_ws-1.1 en 0 utf-8 -Adossi -AMQP api API's Archlinux @@ -10,7 +8,6 @@ auth authenticator backoff balancer -Beles booleans Bouscal buildpack @@ -19,21 +16,16 @@ Cardano cd centric changelog -colocality -ClojureScript Cloudfare -cloudfared config CORS CPUs cryptographically CSV -Daemonizing DDL DevOps DiBiase dockerize -DoS eq ETH Ethereum @@ -54,7 +46,6 @@ Greenplum gte GUC gucs -Gumbs Haskell Heroku HMAC @@ -80,9 +71,6 @@ JSON JWK JWT jwt -JWTs -Kinesis -Kofi Kubernetes localhost login @@ -92,23 +80,18 @@ logins lon lt lte -middleware misprediction -Mithril multi -MVCC namespace namespaced Nanos neq nginx -ngrep nixpkgs npm nxl nxr OAuth -onwards OpenAPI openapi ORM @@ -117,7 +100,6 @@ passphrase Pawel PBKDF Pelletier -Petr PgBouncer pgcrypto pgjwt @@ -148,16 +130,13 @@ Rafaj RDS reallyreallyreallyreallyverysafe Rechkemmer -reconnection Redux refactor reloadable Reloadable Remo requester's -roundtrips RESTful -RestSharp RLS RPC RSA @@ -166,16 +145,12 @@ safeupdate savepoint schemas schema's -Sencha -Serverless Severin SHA Sommer signup SIGUSR sl -SNS -sqitch SQL sql sr @@ -183,14 +158,10 @@ SSL stateful stdout Stolarz -subselect -SuperAgent SvelteKit SwaggerUI syslog systemd -Tcl -tmuxp todo todos tos @@ -212,16 +183,13 @@ uri url urls variadic -Vercel verifier versioning Vondra Vue -WAI webhooks websearch Websockets webuser wfts Zac -ZeroMQ