name: Test Deno Module on: push: branches: [master] pull_request: branches: [master] jobs: test: runs-on: ubuntu-latest strategy: matrix: deno-version: [1.0.0, 1.0.1, 1.0.2, 1.0.3] steps: - name: Git Checkout Deno Module uses: actions/checkout@v2 - name: Use Deno Version ${{ matrix.deno-version }} uses: denolib/setup-deno@master with: deno-version: ${{ matrix.deno-version }} - name: Format check Deno Module run: deno fmt --check - name: Lint Deno Module run: deno lint --unstable - name: Test Deno Module run: deno test --allow-none