refactor
This commit is contained in:
parent
ad38253190
commit
709440311d
20
.github/workflows/test.yml
vendored
20
.github/workflows/test.yml
vendored
@ -39,28 +39,18 @@ jobs:
|
|||||||
if: runner.os == 'Linux' && matrix.deno == 'canary'
|
if: runner.os == 'Linux' && matrix.deno == 'canary'
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
test-dvm-file:
|
test-version-file:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
deno-version-file: [.dvmrc, .tool-versions]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Deno
|
- name: Setup Deno
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
deno-version-file: .dvmrc
|
deno-version-file: ${{ matrix.deno-version-file }}
|
||||||
|
|
||||||
- name: Check version
|
|
||||||
run: deno -V | grep -q "deno 1\.43\.1"
|
|
||||||
|
|
||||||
test-tool-versions-file:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Setup Deno
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
deno-version-file: .tool-versions
|
|
||||||
|
|
||||||
- name: Check version
|
- name: Check version
|
||||||
run: deno -V | grep -q "deno 1\.43\.1"
|
run: deno -V | grep -q "deno 1\.43\.1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user