Skip to content

add tool for config file validation and envvar replacement #12

add tool for config file validation and envvar replacement

add tool for config file validation and envvar replacement #12

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
sudo apt-get update
sudo apt-get install shelltestrunner
shelltest -c --diff --all shelltests/*.test
# TODO: Push this to registry on release
- name: Build Docker Image
run: make validator-docker-image