File tree Expand file tree Collapse file tree 1 file changed +30
-8
lines changed Expand file tree Collapse file tree 1 file changed +30
-8
lines changed Original file line number Diff line number Diff line change 60
60
run : deno task check
61
61
- name : Doc check
62
62
run : deno task check:doc
63
- - name : Gen check
64
- run : |
65
- deno task gen
66
- git diff --exit-code
67
- - name : Supported version inconsistency check
68
- run : |
69
- deno task apply:supported-versions
70
- git diff --exit-code
71
63
72
64
test :
73
65
strategy :
@@ -145,3 +137,33 @@ jobs:
145
137
os : ${{ runner.os }}
146
138
files : ./coverage.lcov
147
139
token : ${{ secrets.CODECOV_TOKEN }}
140
+
141
+ supported-version-check :
142
+ strategy :
143
+ matrix :
144
+ runner :
145
+ - ubuntu-latest
146
+ deno_version :
147
+ - " 2.x"
148
+ runs-on : ${{ matrix.runner }}
149
+ steps :
150
+ - run : git config --global core.autocrlf false
151
+ if : runner.os == 'Windows'
152
+ - uses : actions/checkout@v4
153
+ - uses : denoland/setup-deno@v2
154
+ with :
155
+ deno-version : " ${{ matrix.deno_version }}"
156
+ - uses : actions/cache@v4
157
+ with :
158
+ key : deno-${{ hashFiles('**/*') }}
159
+ restore-keys : deno-
160
+ path : |
161
+ /home/runner/.cache/deno/deps/https/deno.land
162
+ - name : Gen check
163
+ run : |
164
+ deno task gen
165
+ git diff --exit-code
166
+ - name : Supported version inconsistency check
167
+ run : |
168
+ deno task apply:supported-versions
169
+ git diff --exit-code
You can’t perform that action at this time.
0 commit comments