Skip to content

Commit

Permalink
Bump std/fs@1.0.2, upgraded Deno CI runtime to v1.46.2 (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
petruki authored Sep 2, 2024
1 parent 282bf2b commit bdd8437
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 27 deletions.
7 changes: 4 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.44.0
- name: Setup Deno v1.46.2
uses: denoland/setup-deno@v1
with:
deno-version: v1.44.0
deno-version: v1.46.2

- name: Setup LCOV
run: sudo apt install -y lcov
Expand All @@ -44,12 +44,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

# Will be added in the future when Deno v2 is released
# test-matrix:
# name: Test Matrix - Deno ${{ matrix.deno-version }} on ${{ matrix.os }}
# strategy:
# fail-fast: false
# matrix:
# deno-version: [v1.43.x]
# deno-version: [v1.4x.x]
# os: [ ubuntu-latest, windows-latest ]
# runs-on: ${{ matrix.os }}
# if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
deno:
description: 'Deno version'
required: true
default: 'v1.44.x'
default: 'v1.46.x'
os:
description: 'Operating System (ubuntu-20.04, ubuntu-latest, windows-latest)'
required: true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A Deno SDK for Switcher API

[![Master CI](https://github.com/switcherapi/switcher-client-deno/actions/workflows/master.yml/badge.svg)](https://github.com/switcherapi/switcher-client-deno/actions/workflows/master.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=switcherapi_switcher-client-deno&metric=alert_status)](https://sonarcloud.io/dashboard?id=switcherapi_switcher-client-deno)
[![deno.land/x/switcher4deno](http://shield.deno.dev/x/switcher4deno)](https://deno.land/x/switcher4deno)
[![deno.land/x/switcher4deno](https://shield.deno.dev/x/switcher4deno)](https://deno.land/x/switcher4deno)
[![JSR](https://jsr.io/badges/@switcherapi/switcher-client-deno)](https://jsr.io/@switcherapi/switcher-client-deno)
[![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
4 changes: 2 additions & 2 deletions deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@switcherapi/switcher-client-deno",
"version": "2.0.2",
"version": "2.0.3",
"description": "Switcher4Deno is a Feature Flag Deno Client SDK for Switcher API",
"tasks": {
"cache-reload": "deno cache --reload --lock=deno.lock --lock-write mod.ts",
"cache-reload": "deno cache --reload --lock=deno.lock mod.ts",
"fmt": "deno fmt mod.ts src/ --options-single-quote --options-line-width=120 --check",
"fmt:fix": "deno fmt mod.ts src/ --options-single-quote --options-line-width=120",
"test": "deno test --allow-read --allow-net --allow-write --coverage=coverage",
Expand Down
19 changes: 7 additions & 12 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sonar.projectKey=switcherapi_switcher-client-deno
sonar.projectName=switcher-client-deno
sonar.organization=switcherapi
sonar.projectVersion=2.0.2
sonar.projectVersion=2.0.3

sonar.javascript.lcov.reportPaths=coverage/report.lcov

Expand Down
2 changes: 1 addition & 1 deletion src/deps.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { existsSync } from 'jsr:@std/fs@0.229.1';
export { existsSync } from 'jsr:@std/fs@1.0.2';
12 changes: 6 additions & 6 deletions test/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ export {
assertExists,
assertNotEquals,
assertArrayIncludes
} from 'https://deno.land/std@0.224.0/assert/mod.ts';
} from 'jsr:@std/assert@1.0.3';;
export { assertSpyCalls, spy } from 'jsr:@std/testing@1.0.1/mock';
export {
describe,
it,
afterAll,
beforeEach,
beforeAll,
afterEach
} from 'https://deno.land/std@0.224.0/testing/bdd.ts';
export { delay } from 'https://deno.land/std@0.224.0/async/delay.ts';
export { existsSync } from 'https://deno.land/std@0.224.0/fs/mod.ts';
export * as mf from 'https://deno.land/x/mock_fetch@0.3.0/mod.ts';
export { assertSpyCalls, spy } from 'https://deno.land/std@0.224.0/testing/mock.ts';
} from 'jsr:@std/testing@1.0.1/bdd';
export { delay } from 'jsr:@std/async@1.0.4/delay';
export { existsSync } from 'jsr:@std/fs@1.0.2';
export * as mf from 'https://deno.land/x/mock_fetch@0.3.0/mod.ts';

0 comments on commit bdd8437

Please sign in to comment.