Skip to content

ci: let gui/examples/_check.vsh exit with 1 error code, let its output be more informative on the CI #9

ci: let gui/examples/_check.vsh exit with 1 error code, let its output be more informative on the CI

ci: let gui/examples/_check.vsh exit with 1 error code, let its output be more informative on the CI #9

Workflow file for this run

name: CI Checks
on:
push:
paths:
- "**.v"
- "**.vsh"
- "**.md"
- "**/ci.yml"
pull_request:
paths:
- "**.v"
- "**.vsh"
- "**.md"
- "**/ci.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- name: Install V
id: install-v
uses: vlang/setup-v@v1.4
with:
check-latest: true
- name: Checkout the gui module
uses: actions/checkout@v4
with:
path: gui
- name: Verify formatting
run: v fmt -verify -inprocess gui/
- name: Check formatting of MD files
run: v check-md gui/
- name: Check compilation of examples
run: v gui/examples/_check.vsh