mirror of
https://github.com/krahets/hello-algo.git
synced 2026-10-21 13:35:21 +08:00
ci: update checkout and selected language setup Actions (#1848)
Co-authored-by: krahets <[email protected]>
This commit is contained in:
co-authored by
krahets
parent
4d4e22a507
commit
112ee773e8
@@ -7,6 +7,7 @@ on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
paths:
|
||||
- ".github/workflows/cpp.yml"
|
||||
- "codes/cpp/**/*.cpp"
|
||||
- "codes/cpp/**/*.hpp"
|
||||
- "en/codes/cpp/**/*.cpp"
|
||||
@@ -14,6 +15,7 @@ on:
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
paths:
|
||||
- ".github/workflows/cpp.yml"
|
||||
- "codes/cpp/**/*.cpp"
|
||||
- "codes/cpp/**/*.hpp"
|
||||
- "en/codes/cpp/**/*.cpp"
|
||||
@@ -58,7 +60,7 @@ jobs:
|
||||
c_compiler: cl
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Configure CMake
|
||||
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
|
||||
|
||||
Reference in New Issue
Block a user