Skip to content

Commit

Permalink
fix deno_version
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed Sep 25, 2024
1 parent 92147f2 commit 650cc2e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
pull_request:
jobs:
lint:
name: Lint source deno-${{ matrix.deno }}
name: Lint source deno-${{ matrix.deno_version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
deno: [v1.x, rc]
deno_version: [v1.x, rc]
env:
RUST_BACKTRACE: full
DENO_FUTURE: 1
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno }}
deno-version: ${{ matrix.deno_version }}

- name: Setup shellcheck
run: >
Expand All @@ -42,9 +42,9 @@ jobs:
run: ./shellcheck --shell bash <(deno run -r ./examples/command/shell-completions.ts completions zsh)

- name: Type-check
if: matrix.version == 'rc'
if: matrix.deno_version == 'rc'
run: deno task check

- name: Type-check
if: matrix.version == 'v1.x'
if: matrix.deno_version == 'v1.x'
run: deno task check:deno-v1
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ on:
pull_request:
jobs:
test:
name: ${{ matrix.runtime }} ${{ matrix.os }} deno-${{ matrix.deno }}
name: ${{ matrix.runtime }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
runtime: [deno, node]
os: [macOS-latest, windows-latest, ubuntu-latest]
deno: [v1.x, rc]
deno_version: [v1.x, rc]
env:
RUST_BACKTRACE: full
DENO_FUTURE: 1
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno }}
deno-version: ${{ matrix.deno_version }}
# deno-version-file: ".deno-version"

- name: Create package.json
Expand Down

0 comments on commit 650cc2e

Please sign in to comment.