Repository navigation
Add CI, installers and the 0.1.0 release - #1
Merged
Merged
Conversation
The repository page must show the build state and what the app looks like. `README.md` gets three badge lines above the title and two pictures below the opening paragraph. The two pictures are new files in `images/`. - The alt text and a caption line identify the pictures as design concepts, because they are renders and not screenshots of the app. - The pictures use relative links, so they also show in a local checkout. - The CI badge names the workflow file `ci.yml`. This change does not add that file. Plan: .cursor/plans/pedagogue_ci_and_release_9980d68c.plan.md
A pull request must pass the same checks that a developer runs locally. `.github/workflows/ci.yml` runs them on each pull request and on each push to `master`. `deny.toml` configures `cargo deny check` for advisories, licenses, bans and sources. - Each job has the condition `!github.event.repository.fork`, so a fork skips every job and the checks run only in the repository that receives the pull request. - The jobs that compile the workspace run `npm ci` in `ui/` first, because the build script of the server bundles the UI. On Linux they run on `ubuntu-22.04` and install `libwebkit2gtk-4.1-dev`, `libssl-dev` and `librsvg2-dev`. - `test` runs on Linux, Windows and macOS. It builds the tests with `--no-run` in a step of its own, and its last step fails when `git status --porcelain` reports a change. - `ci-green` needs every other job and fails when one of them did not succeed, so one check can be required in branch protection. - `Swatinem/rust-cache` and `taiki-e/install-action` are pinned by commit. `actions/checkout@v4` and `actions/setup-node@v4` are pinned by tag. - `deny.toml` permits crates.io as the only source. A reviewed advisory goes into its `ignore` list. - No job checks feature combinations or a minimum Rust version, and no job validates the HTML files. Plan: .cursor/plans/pedagogue_ci_and_release_9980d68c.plan.md
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request set up CI. Its two commits landed on
masterdirectly, so that the first workflow run could start, and the installer work continues in #2.What it holds
images/..github/workflows/ci.ymlruns format, clippy, the tests on Linux, Windows and macOS, the docs build, the UI checks,cargo denyandcargo audit.ci-greenis the one check to require.deny.tomlforcargo deny check.What moved to #2
crates/pedagogue-installer, run ascargo installer, which builds the installers for Windows, macOS and Linux..github/workflows/release.yml, which builds and checks the installers on a pull request and publishes them on avX.Y.Ztag.