Skip to content

Commit dc98fae

Browse files
committed
add checkout wrapper
Signed-off-by: Yanxuan Liu <[email protected]>
1 parent a0bbd25 commit dc98fae

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.github/workflows/shell-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
if: "!contains(github.event.pull_request.title, '[bot]')"
2626
steps:
2727
- name: Checkout code
28-
uses: actions/checkout@v4
28+
uses: YanxuanLiu/spark-rapids-common/checkout@shellcheck
2929

3030
- name: Run ShellCheck
3131
uses: NVIDIA/spark-rapids-common/shell-check@main

checkout/action.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright (c) 2025, NVIDIA CORPORATION.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: 'Checkout'
16+
description: 'Checkout code'
17+
18+
runs:
19+
using: "composite"
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v4

0 commit comments

Comments
 (0)