Skip to content

feat: Add optional runtime binary version requirements to LaunchSpec #15

feat: Add optional runtime binary version requirements to LaunchSpec

feat: Add optional runtime binary version requirements to LaunchSpec #15

Workflow file for this run

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