Skip to content

Commit

Permalink
👷 Add CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
siguici committed Dec 26, 2023
1 parent fb4b620 commit f1879ba
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, pull_request]

permissions:
contents: read

jobs:
fmt:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
name: CI Vest on ${{ matrix.operating-system }}

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Vlang
run: |
set -e
git clone https://github.com/vlang/v
cd v
make
sudo ./v symlink
- name: Check fmt
run: v fmt .

0 comments on commit f1879ba

Please sign in to comment.