diff --git a/.github/workflows/assurance.yml b/.github/workflows/assurance.yml index ae76a5cd..644492e4 100644 --- a/.github/workflows/assurance.yml +++ b/.github/workflows/assurance.yml @@ -34,17 +34,17 @@ jobs: echo "SELECT json('{\"foo\":\"bar\"}');" | sqlite3 || (echo 'JSON functions are NOT supported' && false) # syntax check all files in case tests don't exist - - run: deno check --no-lock --unstable $(find . -name '*.ts' -not -path './support/*') + - run: deno check --no-lock $(find . -name '*.ts' -not -path './support/*') # Run all test files in the repository and collect code coverage. # The example runs with all permissions, but it is recommended to run # with the minimal permissions your program needs (for example --allow-read). - - run: deno test --allow-all --unstable --coverage=coverage --v8-flags="--max-old-space-size=4096" + - run: deno test --allow-all --coverage=coverage --v8-flags="--max-old-space-size=4096" # This generates a report from the collected coverage in `deno test --coverage`. # It is stored as a .lcov file which integrates well with services such # as Codecov, Coveralls and Travis CI. - - run: deno --unstable coverage ./coverage --lcov > coverage.lcov + - run: deno coverage ./coverage --lcov > coverage.lcov - name: Collect coverage uses: codecov/codecov-action@v3 # upload the report on Codecov diff --git a/README.md b/README.md index 2730363a..3f83bae7 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ framework. ## Unit Testing ```bash -deno test -A --unstable +deno test -A ``` ## Directory Structure diff --git a/deno.jsonc b/deno.jsonc index fc5128ab..6bf931dd 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -8,9 +8,9 @@ "init": "git config core.hooksPath .githooks", "doctor": "support/bin/doctor.ts", "update-deno-deps": "udd $(find . -type f -not -path \"./support/*\" -regex \".*\/deps\\(-test\\)?\\.ts\")", - "git-hook-pre-commit": "deno fmt --check --ignore=\"support\" && deno lint --ignore=\"support\" && deno test --parallel --allow-all --unstable --v8-flags=\"--max-old-space-size=4096\"", - "git-hook-pre-push": "deno test --parallel --allow-all --unstable --v8-flags=\"--max-old-space-size=4096\"", - "ts-check": "deno check --no-lock --unstable $(find . -name '*.ts' -not -path \"./support/*\")", + "git-hook-pre-commit": "deno fmt --check --ignore=\"support\" && deno lint --ignore=\"support\" && deno test --parallel --allow-all --v8-flags=\"--max-old-space-size=4096\"", + "git-hook-pre-push": "deno test --parallel --allow-all --v8-flags=\"--max-old-space-size=4096\"", + "ts-check": "deno check --no-lock $(find . -name '*.ts' -not -path \"./support/*\")", "prepare-publish": "git semtag final", "prepare-npm": "deno run -A support/package-npm/build-npm.ts", "publish-npm": "cd support/package-npm && npm publish", diff --git a/lib/postgres/pgpass/README.md b/lib/postgres/pgpass/README.md index 86c3ce15..deff5128 100644 --- a/lib/postgres/pgpass/README.md +++ b/lib/postgres/pgpass/README.md @@ -49,7 +49,7 @@ and then use `deno` to install the latest version of the binary: ```bash export SQLa_VERSION=`curl -fsSL https://api.github.com/repos/netspective-labs/sql-aide/tags | jq '.[0].name' -r` -deno install -A -f --unstable https://raw.githubusercontent.com/netspective-labs/sql-aide/${SQLa_VERSION}/lib/postgres/pgpass/pgpass.ts +deno install -A -f https://raw.githubusercontent.com/netspective-labs/sql-aide/${SQLa_VERSION}/lib/postgres/pgpass/pgpass.ts ``` ### `pgpass` usage