ci: make sure that unformatted code in just cmd/ is not allowed

This commit is contained in:
Delyan Angelov 2024-05-18 15:10:29 +03:00
parent 961bc7907c
commit 14d8a97fe6
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED

View file

@ -35,6 +35,8 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Build V - name: Build V
run: make -j4 && ./v -showcc -o v cmd/v && ./v doctor run: make -j4 && ./v -showcc -o v cmd/v && ./v doctor
- name: Code in cmd/ is formatted
run: ./v fmt -verify cmd/
- name: Test - name: Test
run: ./v test-self cmd run: ./v test-self cmd
- name: Test (-cstrict) - name: Test (-cstrict)