diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 997fbe0..ba71807 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,12 +8,13 @@ on: jobs: test: - name: test-${{ matrix.deno-version }}-${{ matrix.unstable && 'unstable' || 'stable' }} + name: build-${{ matrix.deno-version == 'nightly' && 'nightly' || 'release' }}-${{ matrix.unstable && 'unstable' || 'stable' }}-${{ matrix.no-check && 'nocheck' || 'tsc' }} runs-on: ubuntu-latest strategy: matrix: - deno-version: [v1.3.3, nightly] + deno-version: [v1.4.0, nightly] unstable: [false, true] + no-check: [false, true] env: AWS_ACCESS_KEY_ID: AKIAIOSFODNN7EXAMPLE AWS_SECRET_ACCESS_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY @@ -37,4 +38,4 @@ jobs: aws --endpoint-url "http://localhost:9000" s3 mb s3://test - name: Test - run: deno test --allow-net --allow-env ${{ matrix.unstable && '--unstable' || '' }} + run: deno test --allow-net --allow-env${{ matrix.unstable && ' --unstable' || '' }}${{ matrix.no-check && ' --no-check' || '' }} diff --git a/deps.ts b/deps.ts index 248ddb3..9393de4 100644 --- a/deps.ts +++ b/deps.ts @@ -1,5 +1,5 @@ -export { AWSSignerV4 } from "https://deno.land/x/aws_sign_v4@0.1.0/mod.ts"; -import { createHash } from "https://deno.land/std@0.68.0/hash/mod.ts"; +export { AWSSignerV4 } from "https://deno.land/x/aws_sign_v4@0.1.1/mod.ts"; +import { createHash } from "https://deno.land/std@0.69.0/hash/mod.ts"; export function sha256Hex(data: string | Uint8Array): string { const hasher = createHash("sha256"); hasher.update(data); diff --git a/src/bucket.ts b/src/bucket.ts index 8768edf..0c4d9c5 100644 --- a/src/bucket.ts +++ b/src/bucket.ts @@ -1,5 +1,5 @@ import { AWSSignerV4, sha256Hex } from "../deps.ts"; -import { S3Config } from "./client.ts"; +import type { S3Config } from "./client.ts"; import type { GetObjectOptions, PutObjectOptions, diff --git a/test_deps.ts b/test_deps.ts index 6f8c771..2690539 100644 --- a/test_deps.ts +++ b/test_deps.ts @@ -2,4 +2,4 @@ export { assert, assertEquals, assertThrowsAsync, -} from "https://deno.land/std@0.68.0/testing/asserts.ts"; +} from "https://deno.land/std@0.69.0/testing/asserts.ts";