Merge pull request #11 from coderabbitai/codex/release-0.2.1-coderabb… #36
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: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 60 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Install pinned Rust formatter | |
| run: | | |
| rustup toolchain install 1.97.1 --profile minimal --component rustfmt | |
| rustup default 1.97.1 | |
| - name: Check formatting | |
| run: cargo fmt --all --check | |
| - name: Build the tested production image | |
| run: | | |
| version=$(sed -n 's/^version = "\(.*\)"$/\1/p' crates/celld/Cargo.toml | head -1) | |
| docker build --tag celld-ci --build-arg CELLD_COMMIT="$GITHUB_SHA" --build-arg CELLD_VERSION="$version" . | |
| - name: Test cell disaster recovery against MinIO | |
| run: ./scripts/cell-archive-minio.sh |