Skip to content

update actions (#135) #434

update actions (#135)

update actions (#135) #434

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
strategy:
matrix:
os:
- name: macos-latest
- name: ubuntu-latest
# - name: windows-latest
runs-on: ${{ matrix.os.name }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '^1.20'
- name: Install V
uses: vlang/[email protected]
- name: Get go2v
uses: actions/checkout@v4
- name: Check GO env variables
run: go env && v -e 'import os; os.getenv("PATH").split(os.path_delimiter).map(dump(it))'
- name: Check code formatting
run: |
v fmt -diff .
v fmt -verify .
- name: Build go2v
run: v .
# will run all tests, including complex
- name: Run tests
run: v -g test .