Skip to content

Commit

Permalink
chore: remove --unstable from builds
Browse files Browse the repository at this point in the history
  • Loading branch information
shah committed Feb 8, 2024
1 parent 14ed202 commit d1a641f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/assurance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ framework.
## Unit Testing

```bash
deno test -A --unstable
deno test -A
```

## Directory Structure
Expand Down
6 changes: 3 additions & 3 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion lib/postgres/pgpass/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1a641f

Please sign in to comment.