Skip to content

Commit

Permalink
feat: update setup-deno (denoland#964)
Browse files Browse the repository at this point in the history
  • Loading branch information
crowlKats authored Oct 9, 2024
1 parent c5f48cf commit dc896eb
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 16 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: rc
- uses: denoland/setup-deno@v2

- run: deno fmt --check
11 changes: 5 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ jobs:
uses: actions/checkout@v4

- name: Set up Deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2

- name: Set up Deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: 91860b34f52e498913e69bef3fc734fdf1ff817c
deno-version: canary
deno-binary-name: "deno_doc"

- name: "Reference: install"
working-directory: "reference_gen"
run: DENO_FUTURE=1 deno install
run: deno install

- name: "Reference: generate types"
working-directory: "reference_gen"
run: DENO_FUTURE=1 deno task types
run: deno task types

- name: "Reference: generate docs"
working-directory: "reference_gen"
Expand All @@ -42,7 +42,6 @@ jobs:
env:
ORAMA_CLOUD_INDEX_ID: ${{ vars.ORAMA_CLOUD_INDEX_ID }}
ORAMA_CLOUD_API_KEY: ${{ secrets.ORAMA_CLOUD_API_KEY }}
DENO_FUTURE: 1
run: deno task build

- name: Run server
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
token: ${{ secrets.DENOBOT_PAT }}

- name: Install deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2

- name: Build and Create PR
env:
Expand Down
4 changes: 2 additions & 2 deletions deploy/manual/ci_github.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ jobs:
uses: actions/checkout@v3

- name: Install Deno
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x

- name: Build step
run: "deno task build"
Expand Down
4 changes: 2 additions & 2 deletions runtime/fundamentals/linting_and_formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
- uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x
- run: deno fmt --check
```
Expand Down
4 changes: 2 additions & 2 deletions runtime/reference/continuous_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
- uses: denoland/setup-deno@v2
with:
deno-version: v1.x # Run with latest stable Deno.
deno-version: v2.x # Run with latest stable Deno.
```
To expand the workflow, add any of the `deno` subcommands that you might need:
Expand Down

0 comments on commit dc896eb

Please sign in to comment.