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

Github Action that allow you to compile v programs without the use of docker (because it's very slow)

License

Notifications You must be signed in to change notification settings

nocturlab/setup-vlang-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date
Mar 21, 2020
Dec 23, 2020
Oct 12, 2021
Oct 12, 2021
Oct 12, 2021
Mar 23, 2020
Mar 21, 2020
May 16, 2020
Mar 22, 2020
May 16, 2020
Mar 22, 2020
Mar 21, 2022
Aug 16, 2020
Mar 21, 2020
Mar 25, 2022
Mar 25, 2022
Oct 12, 2021

Repository files navigation

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).