ci: bump the github-actions group across 1 directory with 5 updates #47
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: | |
| pull_request: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: "1.80" | |
| components: rustfmt, clippy | |
| - run: cargo fmt --all -- --check | |
| - run: cargo clippy --all-targets -- -D warnings | |
| - run: cargo test | |
| conformance: | |
| runs-on: ubuntu-latest | |
| needs: ci | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: "1.80" | |
| - name: Start Streamline server | |
| run: docker compose -f docker-compose.test.yml up -d --wait | |
| - name: Wait for health check | |
| run: | | |
| for i in $(seq 1 30); do | |
| if curl -sf http://localhost:9094/health > /dev/null 2>&1; then | |
| echo "Streamline is healthy" | |
| exit 0 | |
| fi | |
| echo "Waiting for Streamline... ($i/30)" | |
| sleep 2 | |
| done | |
| echo "Streamline failed to start" | |
| docker compose -f docker-compose.test.yml logs | |
| exit 1 | |
| - name: Run conformance tests | |
| run: cargo test --test conformance -- --ignored | |
| - name: Stop Streamline server | |
| if: always() | |
| run: docker compose -f docker-compose.test.yml down -v |