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:
parent
193e7f66d1
commit
05a7aa8702
3 changed files with 22 additions and 2 deletions
2
.github/workflows/deploy-docs.yml
vendored
2
.github/workflows/deploy-docs.yml
vendored
|
@ -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
20
.github/workflows/test.yml
vendored
Normal 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 ./
|
2
.github/workflows/verify-formatting.yml
vendored
2
.github/workflows/verify-formatting.yml
vendored
|
@ -17,4 +17,4 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
|
||||
- name: Verify That The Code Is Formatted
|
||||
run: v fmt -verify .
|
||||
run: v fmt -verify ./
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue