mirror of
https://github.com/krahets/hello-algo.git
synced 2026-11-03 22:24:16 +08:00
ci: update checkout and selected language setup Actions (#1848)
Co-authored-by: krahets <krahets@163.com>
This commit is contained in:
4
.github/workflows/ruby.yml
vendored
4
.github/workflows/ruby.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user