diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index e8a2d6f..551490f 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..89d8e22 --- /dev/null +++ b/.github/workflows/test.yml @@ -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 ./ diff --git a/.github/workflows/verify-formatting.yml b/.github/workflows/verify-formatting.yml index 89e8475..feb2fd0 100644 --- a/.github/workflows/verify-formatting.yml +++ b/.github/workflows/verify-formatting.yml @@ -17,4 +17,4 @@ jobs: uses: actions/checkout@v3 - name: Verify That The Code Is Formatted - run: v fmt -verify . + run: v fmt -verify ./