add tool for config file validation and envvar replacement #17
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' | |
# 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 |