chore: update gh actions #15
Merged
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 restructures and modernizes the project's GitHub Actions workflows for CI/CD, testing, formatting, linting, and Dependabot automation. It removes several legacy workflow files and replaces them with consolidated, updated workflows that use newer actions and best practices. The changes also improve automation for releases and Dependabot PRs.
Workflow modernization and consolidation:
.github/workflows/ci.ymlto handle building, formatting, linting (Clippy), and testing in a single workflow, replacing separate legacy workflows. Uses newer actions and improved caching..github/workflows/cd.ymlfor continuous delivery, including dry-run publishing, version bumping, and release creation with GitHub CLI. Automates publishing to crates.io and manages releases more robustly.Removal of legacy workflows and configuration:
build.yml,clippy.yml,fmt.yml,release.yml, andtests.yml, as their responsibilities are now handled by the new consolidated workflows. [1] [2] [3] [4] [5]rustfmt.tomlconfiguration file, suggesting a move to standard or default formatting conventions.Dependabot automation improvements:
dependabot.yml, combining auto-approve and auto-merge functionalities. Now uses squash merging and auto-approval for patch updates, streamlining dependency updates. [1] [2]dependabot-auto-approve.ymlworkflow, as its logic is now integrated into the main Dependabot workflow.