add tool for config file validation and envvar replacement #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | |
- 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 |