ci: run tutorial
parent
40b8d9ca3d
commit
7bcc5afbb6
|
@ -114,6 +114,11 @@ jobs:
|
||||||
run: ./v build-tools
|
run: ./v build-tools
|
||||||
- name: Test v binaries
|
- name: Test v binaries
|
||||||
run: ./v build-vbinaries
|
run: ./v build-vbinaries
|
||||||
|
- name: Test v tutorials
|
||||||
|
run: |
|
||||||
|
cd tutorials/code/blog
|
||||||
|
v .
|
||||||
|
|
||||||
|
|
||||||
# Alpine docker pre-built container
|
# Alpine docker pre-built container
|
||||||
alpine-docker-musl-gcc:
|
alpine-docker-musl-gcc:
|
||||||
|
|
|
@ -21,9 +21,6 @@ pub fn (mut app App) init_once() {
|
||||||
app.handle_static('.')
|
app.handle_static('.')
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn (mut app App) init() {
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn (mut app App) json_endpoint() vweb.Result {
|
pub fn (mut app App) json_endpoint() vweb.Result {
|
||||||
return app.json('{"a": 3}')
|
return app.json('{"a": 3}')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue