Skip to content

Merge pull request #79 from Team-Inventrix/dev #134

Merge pull request #79 from Team-Inventrix/dev

Merge pull request #79 from Team-Inventrix/dev #134

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will install Deno then run `deno lint` and `deno test`.
# For more information see: https://github.com/denoland/setup-deno
name: Deno-linting
on:
push: {}
pull_request: {}
permissions:
contents: read
jobs:
test-ubuntu:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v3
- name: Setup Deno
# uses: denoland/setup-deno@v1
uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2
with:
deno-version: v1.x
- name: Run linter
run: deno lint --unstable --rules='{ "quotes": ["error", "single"], "no-trailing-whitespace": "off" }'

Check failure on line 33 in .github/workflows/deno.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deno.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
- name: Run tests
run: deno test -A
test-windows:
runs-on: windows-latest
steps:
- name: Setup repo
uses: actions/checkout@v3
- name: Setup Deno
# uses: denoland/setup-deno@v1
uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2
with:
deno-version: v1.x
- name: Run linter
run: deno lint --unstable --rules='{ "quotes": ["error", "single"], "no-trailing-whitespace": "off" }'
- name: Run tests
run: deno test -A
test-macos:
runs-on: macOS-latest
steps:
- name: Setup repo
uses: actions/checkout@v3
- name: Setup Deno
# uses: denoland/setup-deno@v1
uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2
with:
deno-version: v1.x
- name: Run linter
run: deno lint --unstable --rules='{ "quotes": ["error", "single"], "no-trailing-whitespace": "off" }'
- name: Run tests
run: deno test -A