You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Setup V environment
v1.1.0
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 0.1.24
uses: nocturlab/setup-vlang-action@v1
with:
v-version: 0.1.24
id: v
- name: Build repository app
run: v build .
- 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).