v/.github/workflows/ci.yaml

32 lines
622 B
YAML

name: "v CI/CD"
on:
pull_request:
push:
branches:
- main
env:
GO_VERSION: '1.21'
jobs:
tests:
name: "Tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- run: . scripts/test
integration-tests:
name: "Integration tests"
runs-on: ubuntu-latest
env:
V_ROOT: /tmp/v
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- run: . integration/install_specific_version