fixed code format #1941
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Run tests | |
strategy: | |
matrix: | |
deno_version: | |
- 2.1 | |
- latest | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Deno environment | |
uses: denoland/setup-deno@v2 | |
with: | |
deno-version: ${{ matrix.deno_version }} | |
- name: Verify formatting | |
if: matrix.os == 'ubuntu-latest' | |
run: deno fmt --check | |
- name: Run linter | |
run: deno lint | |
- name: Run tests | |
run: deno task test | |
- name: Test upgrade | |
run: deno run -A cli.ts upgrade |