ci: Update GitHub Actions versions and runner images#288
Open
rhaist wants to merge 4 commits intothreathunters-io:masterfrom
Open
ci: Update GitHub Actions versions and runner images#288rhaist wants to merge 4 commits intothreathunters-io:masterfrom
rhaist wants to merge 4 commits intothreathunters-io:masterfrom
Conversation
- Replace deprecated actions-rs/toolchain@v1 with dtolnay/rust-toolchain
- Update all actions/{checkout,cache,upload-artifact,download-artifact} to v6
- Update build containers: debian:bullseye → trixie, alpine:3.21 → 3.22
- Update selinux container: ubuntu:jammy → noble, debian:bookworm-slim → trixie-slim
- Add build-test-old job to test against minimum supported toolchain (1.85)
- Add missing `permissions: contents: read` to per-job definitions
Collaborator
|
Hi, |
- Revert binary build containers back to debian:bullseye — intentionally chosen to produce binaries compatible with older glibc versions - Fix build-test-old toolchain to 1.70 (actual MSRV per Cargo.toml) - Restore build-bookworm (debian:bookworm-slim) and build-jammy (ubuntu:jammy) in selinux.yml — add trixie/noble as new targets rather than replacing existing ones
Author
|
Thanks for your feedback - I touched only what needed some bumps. |
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
GitHub Actions (
build.yml)Replace deprecated
actions-rs/toolchain@v1withdtolnay/rust-toolchainacross all jobs. Theactions-rsorganisation is unmaintained. The new action usestargets:(plural) for cross-compilation targets instead of the oldtarget:singular parameter.Update action versions:
actions/checkoutv2v6actions/cachev3v5actions/upload-artifactv4v7actions/download-artifactv4v8Update musl build container:
alpine:3.21→alpine:3.23(latest stable).Fix
build-test-oldtoolchain version: corrected from1.85to1.70to match the actualrust-versiondeclared inCargo.toml.SELinux policies (
selinux.yml)Same action version updates as above. Two new build targets are added while all existing targets are preserved:
build-trixie—debian:trixie-slim(Debian 13, now stable)build-noble—ubuntu:noble(Ubuntu 24.04 LTS)