Skip to content

Commit

Permalink
Bump to Deno 1.41.0 and Oak 14.0.0 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
petruki authored Feb 25, 2024
1 parent b7a0132 commit 567f6b0
Show file tree
Hide file tree
Showing 10 changed files with 179 additions and 178 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Deno v1.39.2
- name: Setup Deno v1.41.0
uses: denoland/setup-deno@v1
with:
deno-version: v1.39.2
deno-version: v1.41.0

- name: Setup LCOV
run: sudo apt install -y lcov
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
tags: trackerforce/switcher-searchdocs:latest

update-kustomize:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/re-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.inputs.tag }}

- name: Setup Deno v1.39.2
- name: Setup Deno v1.41.0
uses: denoland/setup-deno@v1
with:
deno-version: v1.39.2
deno-version: v1.41.0

- name: Verify formatting
run: deno task fmt
Expand Down Expand Up @@ -71,6 +71,6 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Deno v1.39.2
- name: Setup Deno v1.41.0
uses: denoland/setup-deno@v1
with:
deno-version: v1.39.2
deno-version: v1.41.0

- name: Verify formatting
run: deno task fmt
Expand Down Expand Up @@ -62,6 +62,6 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
9 changes: 1 addition & 8 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
{
"deno.enable": true,
"deno.enablePaths": [],
"deno.unstable": true,
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescriptreact]": {
"editor.defaultFormatter": "denoland.vscode-deno"
}
"deno.unstable": true
}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM denoland/deno:alpine-1.39.2
FROM denoland/deno:alpine-1.41.0

ENV APP_HOME=/home/app
WORKDIR $APP_HOME
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ A remote document search engine that uses Skimming for Deno<br><br>

[![Master CI](https://github.com/switcherapi/switcher-searchdocs/actions/workflows/master.yml/badge.svg)](https://github.com/switcherapi/switcher-searchdocs/actions/workflows/master.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=switcherapi_switcher-searchdocs&metric=alert_status)](https://sonarcloud.io/dashboard?id=switcherapi_switcher-searchdocs)
![Known Vulnerabilities](https://snyk.io/test/github/switcherapi/switcher-searchdocs/badge.svg)
[![Docker Hub](https://img.shields.io/docker/pulls/trackerforce/switcher-searchdocs.svg)](https://hub.docker.com/r/trackerforce/switcher-searchdocs)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Slack: Switcher-HQ](https://img.shields.io/badge/slack-@switcher/hq-blue.svg?logo=slack)](https://switcher-hq.slack.com/)
Expand Down
9 changes: 6 additions & 3 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
{
"name": "@switcherapi/switcher-searchdocs",
"version": "1.0.1",
"description": "A remote document search engine that uses Skimming for Deno",
"tasks": {
"run": "deno run --unstable --allow-net --allow-env --allow-read src/index.ts",
"run": "deno run --allow-net --allow-env --allow-read src/index.ts",
"run:dev": "ENV_PATH=.env.dev deno task run",
"run:prod": "ENV_PATH=.env deno task run",
"cache-reload": "deno cache --reload --lock=deno.lock --lock-write src/index.ts",
"fmt": "deno fmt src/ --options-single-quote --options-line-width=120 --check",
"fmt:fix": "deno fmt test/ src/ --options-single-quote --options-line-width=120",
"fmt:files": "deno fmt --unstable --options-single-quote --options-line-width=120 -- --files",
"test": "ENV_PATH=.env.test deno test --unstable --allow-read --allow-net --allow-env --coverage=coverage",
"fmt:files": "deno fmt --options-single-quote --options-line-width=120 -- --files",
"test": "ENV_PATH=.env.test deno test --allow-read --allow-net --allow-env --coverage=coverage",
"lcov": "deno coverage coverage --lcov --output=coverage/report.lcov",
"clean": "rm -rf ./npm ./coverage",
"cover": "deno task clean && deno task test && deno task lcov && genhtml -o coverage/html coverage/report.lcov"
Expand Down
Loading

0 comments on commit 567f6b0

Please sign in to comment.