|
90 | 90 | - 3306:3306
|
91 | 91 |
|
92 | 92 | steps:
|
93 |
| - - uses: actions/checkout@v3 |
94 |
| - with: |
95 |
| - submodules: recursive |
| 93 | + - name: "Checkout ${{ github.repository }}" |
| 94 | + run: | |
| 95 | + mkdir kart |
| 96 | + cd kart |
| 97 | + git init |
| 98 | + git remote add origin https://github.com/${{ github.repository }}.git |
| 99 | + git fetch --depth 1 origin $GITHUB_SHA |
| 100 | + git checkout FETCH_HEAD |
| 101 | + git submodule update --init --recursive |
96 | 102 |
|
97 | 103 | #
|
98 | 104 | # setup
|
@@ -317,9 +323,15 @@ jobs:
|
317 | 323 | PATH: "/opt/python/cp311-cp311/bin:/opt/rh/devtoolset-10/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/github/home/.cargo/bin:/opt/mssql-tools/bin"
|
318 | 324 |
|
319 | 325 | steps:
|
320 |
| - - uses: actions/checkout@v3 |
321 |
| - with: |
322 |
| - submodules: recursive |
| 326 | + - name: "Checkout ${{ github.repository }}" |
| 327 | + run: | |
| 328 | + mkdir kart |
| 329 | + cd kart |
| 330 | + git init |
| 331 | + git remote add origin https://github.com/${{ github.repository }}.git |
| 332 | + git fetch --depth 1 origin $GITHUB_SHA |
| 333 | + git checkout FETCH_HEAD |
| 334 | + git submodule update --init --recursive |
323 | 335 |
|
324 | 336 | #
|
325 | 337 | # setup
|
@@ -604,7 +616,15 @@ jobs:
|
604 | 616 | command -v kart
|
605 | 617 | kart --version
|
606 | 618 |
|
607 |
| - - uses: actions/checkout@v3 |
| 619 | + - name: "Checkout ${{ github.repository }}" |
| 620 | + shell: bash |
| 621 | + run: | |
| 622 | + mkdir kart |
| 623 | + cd kart |
| 624 | + git init |
| 625 | + git remote add origin https://github.com/${{ github.repository }}.git |
| 626 | + git fetch --depth 1 origin $GITHUB_SHA |
| 627 | + git checkout FETCH_HEAD |
608 | 628 |
|
609 | 629 | - name: e2e test (no helper)
|
610 | 630 | env:
|
@@ -643,9 +663,15 @@ jobs:
|
643 | 663 | PY_VER_ID: "cp311-cp311"
|
644 | 664 |
|
645 | 665 | steps:
|
646 |
| - - uses: actions/checkout@v3 |
647 |
| - with: |
648 |
| - submodules: recursive |
| 666 | + - name: "Checkout ${{ github.repository }}" |
| 667 | + run: | |
| 668 | + mkdir kart |
| 669 | + cd kart |
| 670 | + git init |
| 671 | + git remote add origin https://github.com/${{ github.repository }}.git |
| 672 | + git fetch --depth 1 origin $GITHUB_SHA |
| 673 | + git checkout FETCH_HEAD |
| 674 | + git submodule update --init --recursive |
649 | 675 |
|
650 | 676 | #
|
651 | 677 | # setup
|
@@ -780,9 +806,15 @@ jobs:
|
780 | 806 | PY_VER_INSTALLER: "https://www.python.org/ftp/python/3.11.6/python-3.11.6-macos11.pkg"
|
781 | 807 |
|
782 | 808 | steps:
|
783 |
| - - uses: actions/checkout@v3 |
784 |
| - with: |
785 |
| - submodules: recursive |
| 809 | + - name: "Checkout ${{ github.repository }}" |
| 810 | + run: | |
| 811 | + mkdir kart |
| 812 | + cd kart |
| 813 | + git init |
| 814 | + git remote add origin https://github.com/${{ github.repository }}.git |
| 815 | + git fetch --depth 1 origin $GITHUB_SHA |
| 816 | + git checkout FETCH_HEAD |
| 817 | + git submodule update --init --recursive |
786 | 818 |
|
787 | 819 | #
|
788 | 820 | # setup
|
@@ -1038,9 +1070,15 @@ jobs:
|
1038 | 1070 | )
|
1039 | 1071 |
|
1040 | 1072 | steps:
|
1041 |
| - - uses: actions/checkout@v3 |
1042 |
| - with: |
1043 |
| - submodules: recursive |
| 1073 | + - name: "Checkout ${{ github.repository }}" |
| 1074 | + run: | |
| 1075 | + mkdir kart |
| 1076 | + cd kart |
| 1077 | + git init |
| 1078 | + git remote add origin https://github.com/${{ github.repository }}.git |
| 1079 | + git fetch --depth 1 origin $GITHUB_SHA |
| 1080 | + git checkout FETCH_HEAD |
| 1081 | + git submodule update --init --recursive |
1044 | 1082 |
|
1045 | 1083 | # Setup
|
1046 | 1084 |
|
|
0 commit comments