Skip to content

ci: replace deprecated GitHub Actions with modern equivalents#88

Closed
abhi0324 wants to merge 1 commit intometacall:masterfrom
abhi0324:ci/replace-deprecated-actions
Closed

ci: replace deprecated GitHub Actions with modern equivalents#88
abhi0324 wants to merge 1 commit intometacall:masterfrom
abhi0324:ci/replace-deprecated-actions

Conversation

@abhi0324
Copy link

@abhi0324 abhi0324 commented Mar 6, 2026

Problem

integration.yml and release.yml use several deprecated and unmaintained GitHub Actions that produce warnings on every CI run:

Action Status
actions-rs/toolchain@v1 archived, unmaintained
actions-rs/cargo@v1 archived, unmaintained
actions/checkout@v2 outdated, v4 is current
actions/upload-artifact@v2 outdated, v4 is current
Swatinem/rust-cache@v1 outdated, v2 is current

Notably lint.yml already uses dtolnay/rust-toolchain@stable correctly - this PR brings the other two workflows in line with it.

Changes

integration.yml

  • actions-rs/toolchain@v1dtolnay/rust-toolchain@stable

release.yml

  • actions/checkout@v2actions/checkout@v4
  • actions-rs/toolchain@v1dtolnay/rust-toolchain@stable
  • Swatinem/rust-cache@v1Swatinem/rust-cache@v2
  • actions-rs/cargo@v1 → direct cargo build run command
  • actions/upload-artifact@v2actions/upload-artifact@v4

Testing

  • integration.yml - runs automatically on this PR, results visible in the Actions tab above.
  • release.yml - tag-only workflow, cannot be triggered by a PR. Changes are mechanical replacements verified against the already-working pattern in lint.yml, which uses dtolnay/rust-toolchain@stable successfully.

Notes

  • The targets: parameter replaces target: for dtolnay/rust-toolchain
  • actions-rs/cargo replaced with a direct run: step - the recommended approach that removes an unnecessary dependency
  • No behaviour changes - all steps perform identical operations

profile: minimal
override: true
target: ${{ matrix.target }}
targets: ${{ matrix.target }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you sure about target -> targets?

This comment was marked as abuse.

@abhi0324 abhi0324 requested a review from fahdfady March 6, 2026 17:45
@abhi0324 abhi0324 force-pushed the ci/replace-deprecated-actions branch from f912291 to cfb01f2 Compare March 10, 2026 01:16
@viferga
Copy link
Member

viferga commented Mar 11, 2026

He's trying to inject malicious js into our repository.

@viferga viferga closed this Mar 11, 2026
@abhi0324 abhi0324 deleted the ci/replace-deprecated-actions branch March 11, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants