diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dad37076be..a77690f960 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,6 +114,11 @@ jobs: run: ./v build-tools - name: Test v binaries run: ./v build-vbinaries + - name: Test v tutorials + run: | + cd tutorials/code/blog + v . + # Alpine docker pre-built container alpine-docker-musl-gcc: diff --git a/examples/vweb/vweb_example.v b/examples/vweb/vweb_example.v index f8b46ef402..cfb46d6700 100644 --- a/examples/vweb/vweb_example.v +++ b/examples/vweb/vweb_example.v @@ -21,9 +21,6 @@ pub fn (mut app App) init_once() { app.handle_static('.') } -pub fn (mut app App) init() { -} - pub fn (mut app App) json_endpoint() vweb.Result { return app.json('{"a": 3}') }