This repository will be ARCHIVED soon !! Check the official action
GitHub Action that allows you to compile V programs without the use of Docker (because it's very slow).
You just have to setup your workflow like this:
# file: .github/workflows/vlang-build-pipeline.yml
name: vlang-build-pipeline
on:
push:
paths-ignore:
- '**.md'
jobs:
run:
name: Run
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up V version latest
uses: nocturlab/setup-vlang-action@v1
with:
v-version: latest
id: v
- name: Build repository app
run: v .
- name: Run V tests
run: v test .
v-version
: V version. Can be either exact version number,latest
(by default), ormaster
(use the master branch instead of release).