File tree Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Expand file tree Collapse file tree 3 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : deno
2+
3+ on : [push]
4+
5+ jobs :
6+ lint :
7+ runs-on : ubuntu-20.04
8+ steps :
9+ - uses : actions/checkout@v2
10+ - uses : denolib/setup-deno@v2
11+ with :
12+ deno-version : v1.7.2
13+ - name : Lint
14+ run : deno lint --unstable
15+
16+ format :
17+ runs-on : ubuntu-20.04
18+ steps :
19+ - uses : actions/checkout@v2
20+ - uses : denolib/setup-deno@v2
21+ with :
22+ deno-version : v1.7.2
23+ - name : Format
24+ run : |
25+ deno fmt --check
26+
27+ test :
28+ runs-on : ubuntu-20.04
29+ steps :
30+ - uses : actions/checkout@v2
31+ - uses : denolib/setup-deno@v2
32+ with :
33+ deno-version : v1.7.2
34+ - name : Test
35+ run : |
36+ deno test
Original file line number Diff line number Diff line change 1+ export * from "https://deno.land/[email protected] /testing/asserts.ts" ;
Original file line number Diff line number Diff line change 1+ import { assertEquals } from "./deps_test.ts" ;
2+
3+ Deno . test ( "1 + 1 = 2" , ( ) => {
4+ assertEquals ( 1 + 1 , 2 ) ;
5+ } ) ;
You can’t perform that action at this time.
0 commit comments