Skip to content

chore: Update outdated GitHub Actions versions#1848

Open
pgoslatara wants to merge 1 commit intokrahets:mainfrom
pgoslatara:actup/update-actions-1768552779
Open

chore: Update outdated GitHub Actions versions#1848
pgoslatara wants to merge 1 commit intokrahets:mainfrom
pgoslatara:actup/update-actions-1768552779

Conversation

@pgoslatara
Copy link
Copy Markdown

@pgoslatara pgoslatara commented Jan 16, 2026

Update outdated GitHub Actions so this repo has the latest security fixes and features.

@pgoslatara pgoslatara marked this pull request as ready for review January 16, 2026 08:44
@krahets krahets requested a review from Copilot March 30, 2026 06:55
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates GitHub Actions workflow dependencies to newer major versions to keep CI builds current with upstream fixes and features.

Changes:

  • Bump actions/checkout to v6 across all language workflows.
  • Update select language setup actions (e.g., Python/Java/Go) to newer major versions.
  • Normalize the .NET workflow file formatting/line endings while updating checkout.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.github/workflows/typescript.yml Update actions/checkout version for TS CI job.
.github/workflows/swift.yml Update actions/checkout version for Swift CI job.
.github/workflows/rust.yml Update actions/checkout version for Rust CI job.
.github/workflows/ruby.yml Update actions/checkout version for Ruby CI job.
.github/workflows/python.yml Update actions/checkout and actions/setup-python versions.
.github/workflows/kotlin.yml Update actions/checkout version for Kotlin CI job.
.github/workflows/javascript.yml Update actions/checkout version for JS CI job.
.github/workflows/java.yml Update actions/checkout and actions/setup-java versions.
.github/workflows/go.yml Update actions/checkout and actions/setup-go versions.
.github/workflows/dotnet.yml Update actions/checkout version and normalize file formatting.
.github/workflows/dart.yml Update actions/checkout version for Dart CI job.
.github/workflows/cpp.yml Update actions/checkout version for C++ CI job.
.github/workflows/c.yml Update actions/checkout version for C CI job.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -25,9 +25,9 @@ jobs:
code-dir: ["codes/java", "en/codes/java"]
name: Java ${{ matrix.Java }} sample
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

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

matrix.Java doesn't match the matrix key (java) and GitHub Actions expressions are case-sensitive, so the job name will render without the version. Use matrix.java here.

Suggested change
name: Java ${{ matrix.Java }} sample
name: Java ${{ matrix.java }} sample

Copilot uses AI. Check for mistakes.
Comment on lines +35 to +37
- name: Setup .NET ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

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

This workflow updates actions/checkout to a newer major, but still uses actions/setup-dotnet@v3. Given the PR goal (“Update outdated GitHub Actions versions”), consider bumping setup-dotnet to the intended newer major as well (or note why it must remain on v3).

Copilot uses AI. Check for mistakes.
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.

2 participants