Skip to content

Commit

Permalink
chore(deps): bump denoland/setup-deno from 1 to 2 (#54)
Browse files Browse the repository at this point in the history
* chore(deps): bump denoland/setup-deno from 1 to 2

Bumps [denoland/setup-deno](https://github.com/denoland/setup-deno) from 1 to 2.
- [Release notes](https://github.com/denoland/setup-deno/releases)
- [Commits](denoland/setup-deno@v1...v2)

---
updated-dependencies:
- dependency-name: denoland/setup-deno
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore(ci): Add deno 2.0 to matrices

* chore(ci): Check how caching works with deno 2

* web service needs --allow-import in deno 2

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Lamando <[email protected]>
  • Loading branch information
dependabot[bot] and danopia authored Nov 2, 2024
1 parent 734f543 commit 5559dfd
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions .github/workflows/deno-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,24 @@ jobs:
- v1.35
- v1.40
- v1.45
- v2.0
- canary

steps:
- name: Checkout source
uses: actions/checkout@v4

- name: Use Deno ${{ matrix.deno-version }}
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: ${{ matrix.deno-version }}

- name: Cache https:// deps
uses: actions/cache@v4
with:
path: ~/.cache/deno/deps/https
path: |
~/.cache/deno/deps/https
~/.cache/deno/remote/https
key: deno/${{ matrix.deno-version }}-https/v1-${{ github.sha }}
restore-keys: deno/${{ matrix.deno-version }}-https/v1-

Expand Down Expand Up @@ -66,29 +69,30 @@ jobs:
fail-fast: false
matrix:
deno-version:
- v1.40
- v1.45
- v2.0
- canary

steps:
- name: Checkout source
uses: actions/checkout@v4

- name: Use Deno ${{ matrix.deno-version }}
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: ${{ matrix.deno-version }}

- name: Cache https:// deps
uses: actions/cache@v4
with:
path: ~/.cache/deno/deps/https
path: |
~/.cache/deno/deps/https
~/.cache/deno/remote/https
key: deno/${{ matrix.deno-version }}-https/v1-${{ github.sha }}
restore-keys: deno/${{ matrix.deno-version }}-https/v1-

- name: Check generation/deploy/mod.ts
if: always()
run: time deno check generation/deploy/mod.ts
run: time deno check --allow-import=cdn.skypack.dev,deno.land generation/deploy/mod.ts

validate-codegen:
runs-on: ubuntu-latest
Expand All @@ -100,6 +104,7 @@ jobs:
- v1.35
- v1.40
- v1.45
- v2.0
- canary
fail-fast: false # run each branch to completion

Expand All @@ -110,14 +115,16 @@ jobs:
submodules: true

- name: Use Deno ${{ matrix.deno-version }}
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: ${{ matrix.deno-version }}

- name: Cache https:// deps
uses: actions/cache@v4
with:
path: ~/.cache/deno/deps/https
path: |
~/.cache/deno/deps/https
~/.cache/deno/remote/https
key: deno/${{ matrix.deno-version }}-https/v1-${{ github.sha }}
restore-keys: deno/${{ matrix.deno-version }}-https/v1-

Expand All @@ -139,7 +146,7 @@ jobs:
strategy:
matrix:
deno-version:
- v1.45
- v2.0

steps:
- name: Checkout source
Expand All @@ -148,14 +155,16 @@ jobs:
submodules: true

- name: Use Deno ${{ matrix.deno-version }}
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: ${{ matrix.deno-version }}

- name: Cache https:// deps
uses: actions/cache@v4
with:
path: ~/.cache/deno/deps/https
path: |
~/.cache/deno/deps/https
~/.cache/deno/remote/https
key: deno/${{ matrix.deno-version }}-https/v1-${{ github.sha }}
restore-keys: deno/${{ matrix.deno-version }}-https/v1-

Expand Down

0 comments on commit 5559dfd

Please sign in to comment.