File tree Expand file tree Collapse file tree 2 files changed +37
-42
lines changed Expand file tree Collapse file tree 2 files changed +37
-42
lines changed Original file line number Diff line number Diff line change 11name : Test
22
3- env :
4- DENO_VERSION : 1.x
5-
63on :
74 schedule :
85 - cron : " 0 7 * * 0"
96 push :
107 branches :
118 - main
129 pull_request :
13- branches :
14- - main
1510
1611jobs :
17- lint :
18- runs-on : ubuntu-latest
12+ check :
13+ strategy :
14+ matrix :
15+ runner :
16+ - ubuntu-latest
17+ version :
18+ - " 1.x"
19+ - " 1.28.x"
20+ runs-on : ${{ matrix.runner }}
1921 steps :
20- - uses : actions/checkout@v2
21- - uses : denoland/setup-deno@main
22+ - uses : actions/checkout@v3
23+ - uses : denoland/setup-deno@v1
2224 with :
23- deno-version : ${{ env.DENO_VERSION }}
24- - name : Lint
25- run : deno lint
26-
27- format :
28- runs-on : ubuntu-latest
29- steps :
30- - uses : actions/checkout@v2
31- - uses : denoland/setup-deno@main
32- with :
33- deno-version : ${{ env.DENO_VERSION }}
34- - name : Format
25+ deno-version : " ${{ matrix.version }}"
26+ - name : Lint check
27+ run : |
28+ make lint
29+ - name : Format check
3530 run : |
36- deno fmt --check
31+ make fmt-check
32+ - name : Type check
33+ run : |
34+ make type-check
3735
3836 test :
39- runs-on : ubuntu-latest
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 }}
4047 steps :
41- - uses : actions/checkout@v2
42- - uses : denoland/setup-deno@main
48+ - uses : actions/checkout@v3
49+ - uses : denoland/setup-deno@v1
4350 with :
44- deno-version : ${{ env.DENO_VERSION }}
51+ deno-version : " ${{ matrix.version }}"
4552 - name : Test
4653 run : |
47- deno test
54+ make test
4855 timeout-minutes : 5
49-
50- typecheck :
51- runs-on : ubuntu-latest
52- steps :
53- - uses : actions/checkout@v2
54- - uses : denoland/setup-deno@main
55- with :
56- deno-version : ${{ env.DENO_VERSION }}
57- - name : Type check
58- run : |
59- deno test --unstable --no-run ./*.ts
Original file line number Diff line number Diff line change 99 udd :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v2
12+ - uses : actions/checkout@v3
1313 - uses : denoland/setup-deno@v1
1414 with :
1515 deno-version : " 1.x"
1616 - name : Update dependencies
1717 run : |
18- make tools
19- make update > ../output.txt
18+ make deps > ../output.txt
2019 env :
2120 NO_COLOR : 1
2221 - name : Read ../output.txt
3635 ${{ steps.log.outputs.content }}
3736
3837 EOM
39- - uses : peter-evans/create-pull-request@v3
38+ - uses : peter-evans/create-pull-request@v4
4039 with :
4140 title : " :package: Update Deno dependencies"
4241 body : |
You can’t perform that action at this time.
0 commit comments