-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dependencies on actions-rs GitHub Actions #265
Comments
This commit separates "build / test" and "publish" into separate pipelines to prepare for uploading to GitHub Pages with GitHub Actions: - A WebApp build CI step is added which compiles the Rust code to Wasm and builds the TypeScript code into a bundle. This step never uploads to GitHub pages and runs on PRs and merges to trunk. - A "Publish" workflow is added which builds and uploads to GitHub Pages. This workflow only runs on merges to trunk. A concurrency group called "pages" is added with canceling of in flight builds if a newer commit is pushed to trunk. The publish workflow is no longer published on a weekly cronjob. This commit also contains some cleanups: - `actions-rs` GitHub Actions are replaced with bare calls to rustup and clippy, addressing artichoke/project-infrastructure#265 for the playground. - Caching is removed from `setup-emsdk` action due to an upstream bug: mymindstorm/setup-emsdk#20. - `ruby/setup-ruby` is removed from CI jobs where it is not required. - The `CARGO_NET_GIT_FETCH_WITH_CLI` env variable is set, porting a change from `strftime-ruby`. This should speed up build times when the Artichoke git repository is not cached.
This commit separates "build / test" and "publish" into separate pipelines to prepare for uploading to GitHub Pages with GitHub Actions: - A WebApp build CI step is added which compiles the Rust code to Wasm and builds the TypeScript code into a bundle. This step never uploads to GitHub pages and runs on PRs and merges to trunk. - A "Publish" workflow is added which builds and uploads to GitHub Pages. This workflow only runs on merges to trunk. A concurrency group called "pages" is added with canceling of in flight builds if a newer commit is pushed to trunk. The publish workflow is no longer published on a weekly cronjob. This commit also contains some cleanups: - `actions-rs` GitHub Actions are replaced with bare calls to rustup and clippy, addressing artichoke/project-infrastructure#265 for the playground. - Caching is removed from `setup-emsdk` action due to an upstream bug: mymindstorm/setup-emsdk#20. - `ruby/setup-ruby` is removed from CI jobs where it is not required. - The `CARGO_NET_GIT_FETCH_WITH_CLI` env variable is set, porting a change from `strftime-ruby`. This should speed up build times when the Artichoke git repository is not cached.
https://github.com/artichoke/setup-rust exists now which should make things a bit easier. Once these actions are used, they can be bulk updated across all repositories. |
setup-rust needs actions for:
Audit, code coverage, and rustdoc are managed by terraform. |
All rustdoc workflows (except artichoke/artichoke) are updated to use |
- Build docs with no default features. - Remove cache which will never be valid due to nightly compiler. - Install and setup Rust toolchain using artichoke/setup-rust/rustdoc. See: - artichoke/project-infrastructure#265 - #1813 - artichoke/project-infrastructure#396
aritchoke/artichoke rustdoc workflow is done: |
This removes all direct uses of Swatinem/rust-cache, which obsoletes #2273 and should remove several uses of the cache which will relieve thrash against the 10GB limit for GitHub Actions caches. Add a missing lint step to check formatting in the fuzz workspace. Separate the minimum versions lockfile generation and cargo check step for both root and spec-runner workspaces. See: - #1813 - artichoke/project-infrastructure#265
All Rust audit jobs use artichoke/setup-rust/audit: |
Another set of motivators for these changes:
Sample warnings in a currently not migrated repo: |
code coverage workflows are updated to use artichoke/setup-rust/code-coverage: |
miri setup action is needed for intaglio and cactusref. |
These actions are unmaintained and use deprecated GitHub Actions technologies. See: artichoke/project-infrastructure#265
These actions are unmaintained and use deprecated GitHub Actions technologies. See: artichoke/project-infrastructure#265
These actions are unmaintained and use deprecated GitHub Actions technologies. See: artichoke/project-infrastructure#265 Also remove nightly requirement for lint and format build job.
These actions are unmaintained and use deprecated GitHub Actions technologies. See: artichoke/project-infrastructure#265
These actions are unmaintained and use deprecated GitHub Actions technologies. See: artichoke/project-infrastructure#265
These actions are unmaintained and use deprecated GitHub Actions technologies. See: artichoke/project-infrastructure#265
These actions are unmaintained and use deprecated GitHub Actions technologies. See: artichoke/project-infrastructure#265
excluding forks, there are only two remaining uses of |
Setup miri action is merged and released: |
These actions are unmaintained and use deprecated GitHub Actions technologies. See: artichoke/project-infrastructure#265
These actions are unmaintained and use deprecated GitHub Actions technologies. See: artichoke/project-infrastructure#265
yay! this is finally done |
It appears that the GitHub Actions in the
actions-rs
organization may be unmaintained:set-output
command is deprecated actions-rs/toolchain#221Replace these actions in the CI workflow with raw shell invocations of rustup and cargo.
See:
actions-rs/toolchain
andactions-rs/clippy
with shell artichoke#1813Remaining repositories:
The text was updated successfully, but these errors were encountered: