Skip to content

Commit 7351bba

Browse files
authored
feat: update checkout action version (#152)
* feat: update checkout action version * fix: git init step for test case
1 parent bc69a10 commit 7351bba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ jobs:
2222

2323
# Steps represent a sequence of tasks that will be executed as part of the job
2424
steps:
25-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26-
- uses: actions/checkout@v2
25+
- name: Checkout
26+
uses: actions/checkout@v3
27+
with:
28+
fetch-depth: 1
2729

2830
- name: git init
2931
run: git config --global user.email "[email protected]" && git config --global user.name "modern"

0 commit comments

Comments
 (0)