docs: publish an honest implementation status #39
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] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| rust: | |
| name: rust (fmt · clippy · test) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| - run: cargo fmt --all --check | |
| - run: cargo clippy --workspace --all-targets -- -D warnings | |
| - run: cargo test --workspace | |
| helm: | |
| name: helm (lint · template) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: azure/setup-helm@v4 | |
| with: | |
| version: v3.16.2 | |
| - run: helm lint charts/apd | |
| - run: helm lint charts/apd -f charts/apd/ci/dev-values.yaml | |
| # Render with CI values and validate every doc is well-formed YAML. | |
| - run: | | |
| helm template t charts/apd -f charts/apd/ci/dev-values.yaml > /tmp/rendered.yaml | |
| python3 -c "import sys,yaml; list(yaml.safe_load_all(open('/tmp/rendered.yaml')))" | |
| docker: | |
| name: docker (build check) | |
| # On main pushes the edge workflow builds + pushes multi-arch; here we only | |
| # need a fast build check on PRs. | |
| if: github.event_name == 'pull_request' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: docker/setup-buildx-action@v3 | |
| # Build amd64 only on CI for speed; the release workflow builds multi-arch. | |
| - uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| platforms: linux/amd64 | |
| push: false | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max |