Skip to content

add tool for config file validation and envvar replacement #5

add tool for config file validation and envvar replacement

add tool for config file validation and envvar replacement #5

name: Validator Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
check-schema:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '~1.22'
# TODO: Publish releases
- name: Build
run: make validator
- name: Test
run: |
cd validator
go test .
- name: Run ShellTests
run: |
cd validator
apt update
apt install shelltestrunner
shelltest -c --diff --all shelltests/*.test
# TODO: Push this to registry on release
- name: Build Docker Image
run: make validator-docker-image