This commit is contained in:
Yoshiya Hinosawa 2024-07-05 15:19:55 +09:00
parent ad38253190
commit 709440311d
No known key found for this signature in database
GPG Key ID: 9017DB4559488785

View File

@ -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"