ci: Add missing platform targets and modernize GitHub Actions workflows#222
Open
oguzhane wants to merge 4 commits intostr4d:mainfrom
Open
ci: Add missing platform targets and modernize GitHub Actions workflows#222oguzhane wants to merge 4 commits intostr4d:mainfrom
oguzhane wants to merge 4 commits intostr4d:mainfrom
Conversation
Allow manual triggering of the CI workflow via GitHub Actions UI by adding the `workflow_dispatch` event trigger.
…pdated actions - Add concurrency groups to cancel in-progress runs on new pushes - Add explicit permissions (contents: read) for security - Upgrade actions/checkout from v4 to v5 - Upgrade codecov/codecov-action from v4.5.0 to v5 - Add Swatinem/rust-cache@v2 for Rust dependency caching - Set fail-fast: false on test matrix strategies - Replace deprecated actions-rs/clippy-check with direct cargo clippy - Remove duplicate dtolnay/rust-toolchain@stable step in test-latest - Add clippy component explicitly to beta toolchain
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.
Summary
Expands platform coverage across CI and release pipelines, and modernizes all GitHub Actions workflows.
New Platforms
Release pipeline (
release.yml)ubuntu-24.04-arm(native)aarch64-linux.tar.gzubuntu-latest(cross-compile)armv7-linux.tar.gzwindows-latest(cross-compile)aarch64-windows.zipmacos-x86_64to explicitly cross-compile with--target x86_64-apple-darwin(previously built for host arch, which is now ARM64 onmacos-latest)CI pipeline (
ci.yml)ubuntu-24.04-arm) to bothtest-msrvandtest-latestjobsWorkflow Modernization
Deprecated action upgrades
actions/checkout@v4→@v5(all workflows)actions-rs/cargo@v1→ directcargocommands (unmaintained, Node.js 20)actions-rs/clippy-check@v1→ directcargo clippy(unmaintained, Node.js 20)codecov-action@v4.5.0→@v5Performance & reliability
Swatinem/rust-cache@v2to all build/test jobsfail-fast: falseto all matrix strategiesworkflow_dispatchtrigger to CI for manual runsSecurity & housekeeping
permissionsblocks (least-privilegecontents: read/contents: write)concurrencygroups withcancel-in-progress: trueto all workflowscargo_configsteps (unused by any matrix entry)dtolnay/rust-toolchain@stableintest-latestubuntu-20.04runners toubuntu-latestCross-compilation details
linux-armv7: Sets up multiarch APT sources (handles both DEB822 and traditional formats), installs
gcc-arm-linux-gnueabihfandlibpcsclite-dev:armhf, configures cargo linker.Verification
Successful workflow run on fork: https://github.com/oguzhane/age-plugin-yubikey/actions/runs/23984355730