diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9fe24a9..36b2ddf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,7 +7,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - deno: [1.x, "1.31.x", canary] + deno: [1.x, "1.37.x", canary] steps: - uses: actions/checkout@v3 - uses: denoland/setup-deno@v1 @@ -15,8 +15,10 @@ jobs: deno-version: ${{ matrix.deno }} - name: Check fmt run: deno fmt --check + if: ${{ matrix.deno != '1.31.x' }} - name: Run lint run: deno lint + if: ${{ matrix.deno != '1.31.x' }} - name: All entries uses: tj-actions/glob@v16 id: entries diff --git a/.github/workflows/constant-check.yaml b/.github/workflows/constant-check.yaml deleted file mode 100644 index 5163d22..0000000 --- a/.github/workflows/constant-check.yaml +++ /dev/null @@ -1,22 +0,0 @@ -name: Constant Check -on: - pull_request: - branches: - - main - push: - branches: - - main - schedule: - - cron: "0 0 * * *" -jobs: - check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: denoland/setup-deno@v1 - with: - deno-version: 1.x - - name: Check constant updates - run: deno run -A ./scripts/update-constant.ts - - name: Check if workspace is clean - run: git diff --exit-code diff --git a/src/exporters/stat.ink.ts b/src/exporters/stat.ink.ts index 19c3a10..92629ea 100644 --- a/src/exporters/stat.ink.ts +++ b/src/exporters/stat.ink.ts @@ -40,7 +40,7 @@ import { urlSimplify, } from "../utils.ts"; import { Env } from "../env.ts"; -import GEAR_MAP from "../assets/gear-map.json" assert { type: "json" }; +import GEAR_MAP from "../assets/gear-map.json" with { type: "json" }; const COOP_POINT_MAP: Record = { 0: -20,