Skip to content

Commit

Permalink
Updated Github Actions for Deno
Browse files Browse the repository at this point in the history
  • Loading branch information
sant123 authored Sep 15, 2021
1 parent ace8821 commit 7023df8
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# separate terms of service, privacy policy, and support
# documentation.

# This workflow will install Deno and run tests across stable and nightly builds on Windows, Ubuntu and macOS.
# For more information see: https://github.com/denolib/setup-deno
# This workflow will install Deno then run Deno lint and test.
# For more information see: https://github.com/denoland/setup-deno

name: Deno

Expand All @@ -16,24 +16,24 @@ on:

jobs:
test:
runs-on: ${{ matrix.os }} # runs a test on Ubuntu, Windows and macOS

strategy:
matrix:
deno: ["v1.x", "nightly"]
os: [macOS-latest, windows-latest, ubuntu-latest]
runs-on: ubuntu-latest

steps:
- name: Setup repo
uses: actions/checkout@v2

- name: Setup Deno
uses: denolib/setup-deno@v2
# uses: denoland/setup-deno@v1
uses: denoland/setup-deno@004814556e37c54a2f6e31384c9e18e9833173669
with:
deno-version: ${{ matrix.deno }} # tests across multiple Deno versions
deno-version: v1.x

# Uncomment this step to verify the use of 'deno fmt' on each commit.
# - name: Verify formatting
# run: deno fmt --check

- name: Cache Dependencies
run: deno cache deps.ts
- name: Run linter
run: deno lint

- name: Run Tests
- name: Run tests
run: deno test -A --unstable

0 comments on commit 7023df8

Please sign in to comment.