File tree Expand file tree Collapse file tree 5 files changed +23
-60
lines changed
Expand file tree Collapse file tree 5 files changed +23
-60
lines changed Original file line number Diff line number Diff line change 11name : Test
22
3+ env :
4+ DENO_VERSION : 1.x
5+
36on :
47 schedule :
58 - cron : " 0 7 * * 0"
1013
1114jobs :
1215 check :
13- strategy :
14- matrix :
15- runner :
16- - ubuntu-latest
17- version :
18- - " 1.x"
19- - " 1.28.x"
20- runs-on : ${{ matrix.runner }}
16+ runs-on : ubuntu-latest
2117 steps :
2218 - uses : actions/checkout@v3
2319 - uses : denoland/setup-deno@v1
2420 with :
25- deno-version : " ${{ matrix.version }}"
26- - name : Lint check
27- run : |
28- make lint
29- - name : Format check
21+ deno-version : ${{ env.DENO_VERSION }}
22+ - name : Format
3023 run : |
31- make fmt-check
24+ deno fmt --check
25+ - name : Lint
26+ run : deno lint
3227 - name : Type check
33- run : |
34- make type-check
28+ run : deno task check
3529
3630 test :
37- strategy :
38- matrix :
39- runner :
40- - windows-latest
41- - macos-latest
42- - ubuntu-latest
43- version :
44- - " 1.x"
45- - " 1.28.x"
46- runs-on : ${{ matrix.runner }}
31+ runs-on : ubuntu-latest
4732 steps :
4833 - uses : actions/checkout@v3
4934 - uses : denoland/setup-deno@v1
5035 with :
51- deno-version : " ${{ matrix.version }}"
36+ deno-version : ${{ env.DENO_VERSION }}
5237 - name : Test
5338 run : |
54- make test
39+ deno task test
5540 timeout-minutes : 5
Original file line number Diff line number Diff line change 1515 deno-version : " 1.x"
1616 - name : Update dependencies
1717 run : |
18- make deps > ../output.txt
18+ deno task upgrade > ../output.txt
1919 env :
2020 NO_COLOR : 1
2121 - name : Read ../output.txt
Original file line number Diff line number Diff line change 1- /.tools
2- /.deno
1+ deno.lock
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {
2+ "lock" : false ,
3+ "tasks" : {
4+ "test" : " deno test --unstable -A --parallel" ,
5+ "check" : " deno check --unstable $(find . -name '*.ts')" ,
6+ "upgrade" : " deno run -A https://deno.land/x/udd/main.ts $(find . -name '*.ts')"
7+ }
8+ }
You can’t perform that action at this time.
0 commit comments