-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Refactor GitHub workflows (#236)
* Refactor GitHub workflows - The pull request introduces predefined GitHub actions for CI env setup from `lurk-lab/ci-workflows` to simplify the existing Rust action workflow, - A new workflow for generating and deploying crate docs has been added, triggering on push to the `dev` branch and on changes in Rust and Cargo files. - Updates have been made to the dependabot configuration to enable 'minor' and 'patch' types for rust dependencies. - Lastly, a new nightly workflow is set up for sanity checks, including jobs to examine unused dependencies and verify rust version. * fix: remove obsolete package-name * fix: review nit
- Loading branch information
1 parent
96fd5f5
commit f8771a2
Showing
4 changed files
with
43 additions
and
32 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Generate and deploy crate docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
paths: | ||
- "**.rs" | ||
- "Cargo.toml" | ||
- "Cargo.lock" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
docs: | ||
uses: lurk-lab/ci-workflows/.github/workflows/docs.yml@main |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Nightly sanity checks | ||
name: nightly | ||
|
||
on: | ||
workflow_dispatch: {} | ||
# Once per day at 00:00 UTC | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
unused-dependencies: | ||
uses: lurk-lab/ci-workflows/.github/workflows/unused-deps.yml@main | ||
|
||
rust-version-check: | ||
uses: lurk-lab/ci-workflows/.github/workflows/rust-version-check.yml@main |
This file contains 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