refactor: adopt reason code constants in Data Plane V0 launch path #13
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: schedune-control-plane/go.mod | |
| cache-dependency-path: schedune-control-plane/go.sum | |
| - name: Set up Rust | |
| run: | | |
| rustup toolchain install stable --profile minimal --component clippy --component rustfmt | |
| rustup default stable | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| - name: Check Formatting | |
| run: | | |
| cd schedune-agent && cargo fmt -- --check | |
| cd ../schedune-control-plane && if [ -n "$(gofmt -l .)" ]; then echo "Go code is not formatted"; exit 1; fi | |
| - name: Run Linters | |
| run: make lint | |
| - name: Run Unit Tests | |
| run: make test | |
| - name: Run Smoke Test | |
| run: make smoke-test |