Skip to content

Commit

Permalink
actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pastilhas committed Oct 12, 2024
1 parent 50207fd commit 2daab3d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on:
push:
branches: [ "main" ]

jobs:
build:
strategy:
matrix:
os: [ "ubuntu-latest" ]
runs-on: ${{ matrix.os }}

steps:
- name: Install V
uses: vlang/setup-v@v1.4
with:
check-latest: true

- name: Checkout ${{ github.event.repository.name }}
uses: actions/checkout@v4

- name: Check if code is formatted
run: |
v fmt -diff .
v fmt -verify .
- name: Run Tests
run: v test .

0 comments on commit 2daab3d

Please sign in to comment.