Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.

Latest commit

 

History

History
43 lines (34 loc) · 1.43 KB

README.md

File metadata and controls

43 lines (34 loc) · 1.43 KB

This repository will be ARCHIVED soon !! Check the official action

Setup V environment Latest version Build Tests

GitHub Action that allows you to compile V programs without the use of Docker (because it's very slow).

Usage

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 .

Inputs

  • v-version: V version. Can be either exact version number, latest (by default), or master (use the master branch instead of release).