chore: Update outdated GitHub Actions versions#1848
chore: Update outdated GitHub Actions versions#1848pgoslatara wants to merge 1 commit intokrahets:mainfrom
Conversation
There was a problem hiding this comment.
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/checkouttov6across all language workflows. - Update select language setup actions (e.g., Python/Java/Go) to newer major versions.
- Normalize the
.NETworkflow file formatting/line endings while updatingcheckout.
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 | |||
There was a problem hiding this comment.
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.
| name: Java ${{ matrix.Java }} sample | |
| name: Java ${{ matrix.java }} sample |
| - name: Setup .NET ${{ matrix.dotnet-version }} | ||
| uses: actions/setup-dotnet@v3 | ||
| with: |
There was a problem hiding this comment.
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).
Update outdated GitHub Actions so this repo has the latest security fixes and features.