1
Fork 0
mirror of https://github.com/RGBCube/bonfire.v synced 2025-07-28 14:37:44 +00:00

Add test workflow

This commit is contained in:
RGBCube 2022-12-04 21:49:47 +03:00
parent 193e7f66d1
commit 05a7aa8702
3 changed files with 22 additions and 2 deletions

View file

@ -43,6 +43,6 @@ jobs:
git config user.name "GitHub Actions"
git config user.email "actions@users.noreply.github.com"
git add .
git add ./
git commit -m "Deploy bonfire.v docs"
git push git@github.com:RGBCube/rgbcube.github.io master

20
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Test
on:
- pull_request
- push
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set Up V
uses: vlang/setup-v@v1.1
with:
check-latest: true
- name: Checkout Repository
uses: actions/checkout@v3
- name: Test
run: v test ./

View file

@ -17,4 +17,4 @@ jobs:
uses: actions/checkout@v3
- name: Verify That The Code Is Formatted
run: v fmt -verify .
run: v fmt -verify ./