ci: update checkout and selected language setup Actions (#1848)

Co-authored-by: krahets <krahets@163.com>
This commit is contained in:
Pádraic Slattery
2026-10-10 19:27:27 +02:00
committed by GitHub
parent 4d4e22a507
commit 112ee773e8
13 changed files with 40 additions and 16 deletions

View File

@@ -9,11 +9,13 @@ on:
push:
branches: ["main"]
paths:
- ".github/workflows/ruby.yml"
- "codes/ruby/**/*.rb"
- "en/codes/ruby/**/*.rb"
pull_request:
branches: ["main"]
paths:
- ".github/workflows/ruby.yml"
- "codes/ruby/**/*.rb"
- "en/codes/ruby/**/*.rb"
workflow_dispatch:
@@ -32,7 +34,7 @@ jobs:
code-dir: ["codes/ruby", "en/codes/ruby"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with: