mirror of
https://github.com/gechandesu/os_release.git
synced 2026-12-05 22:24:57 +03:00
27 lines
496 B
YAML
27 lines
496 B
YAML
name: Lint and test
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup V
|
|
uses: vlang/setup-v@v1.7
|
|
with:
|
|
check-latest: true
|
|
|
|
- name: Run tests
|
|
run: |
|
|
v fmt -verify .
|
|
v vet -v -W -I -F -r .
|
|
v missdoc -r --verify .
|
|
v -stats test .
|