Skip to content

Commit 74f9c74

Browse files
committed
ci: Use actions/checkout@v2.
There's a race condition with v1 that we seem to be encountering.
1 parent 3ebff45 commit 74f9c74

File tree

6 files changed

+19
-6
lines changed

6 files changed

+19
-6
lines changed

.github/workflows/centos7.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,12 @@ jobs:
3737
RNP_TESTS: rnp_tests
3838
env: ${{ matrix.env }}
3939
steps:
40-
- uses: actions/checkout@v1
40+
- run: |
41+
yum -y install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm
42+
yum -y install git
43+
- uses: actions/checkout@v2
44+
with:
45+
fetch-depth: 0
4146
- name: Add rnpuser
4247
run: |
4348
useradd rnpuser

.github/workflows/coverity.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ jobs:
1616
runs-on: ubuntu-latest
1717
timeout-minutes: 20
1818
steps:
19-
- uses: actions/checkout@v1
19+
- uses: actions/checkout@v2
20+
with:
21+
fetch-depth: 0
2022
- name: Setup environment
2123
run: |
2224
. ci/gha/setup-env.inc.sh

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
if: "!contains(github.event.head_commit.message, 'skip ci')"
99
steps:
10-
- uses: actions/checkout@v1
10+
- uses: actions/checkout@v2
1111
- uses: DoozyX/clang-format-lint-action@v0.5
1212
with:
1313
clangFormatVersion: 9

.github/workflows/macos.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818
if: "!contains(github.event.head_commit.message, 'skip ci')"
1919
timeout-minutes: 50
2020
steps:
21-
- uses: actions/checkout@v1
21+
- uses: actions/checkout@v2
22+
with:
23+
fetch-depth: 0
2224
- name: Setup environment
2325
run: |
2426
. ci/gha/setup-env.inc.sh

.github/workflows/ubuntu.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818
if: "!contains(github.event.head_commit.message, 'skip ci')"
1919
timeout-minutes: 50
2020
steps:
21-
- uses: actions/checkout@v1
21+
- uses: actions/checkout@v2
22+
with:
23+
fetch-depth: 0
2224
- name: Setup environment
2325
run: |
2426
. ci/gha/setup-env.inc.sh

.github/workflows/windows.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
steps:
2121
- name: Disable git eol translation
2222
run: git config --global core.autocrlf false
23-
- uses: actions/checkout@v1
23+
- uses: actions/checkout@v2
24+
with:
25+
fetch-depth: 0
2426
- name: Add MSYS2 path
2527
uses: MSP-Greg/msys2-action/add_paths@master
2628
- name: Update MSYS2

0 commit comments

Comments
 (0)