diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 21d4f05ef53d..1c6d130f5860 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -8,11 +8,11 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 20 steps: + - name: Checkout code + uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: '1.21' - - name: Checkout code - uses: actions/checkout@v4 - name: Restore cache uses: actions/cache@v4 with: diff --git a/.github/workflows/pd-docker-image.yaml b/.github/workflows/pd-docker-image.yaml index 2463ffa26413..5beaa66c1568 100644 --- a/.github/workflows/pd-docker-image.yaml +++ b/.github/workflows/pd-docker-image.yaml @@ -15,10 +15,10 @@ jobs: strategy: fail-fast: true steps: + - name: Checkout code + uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: '1.21' - - name: Checkout code - uses: actions/checkout@v4 - name: Make run: make docker-image diff --git a/.github/workflows/pd-tests.yaml b/.github/workflows/pd-tests.yaml index c2c61ffe93c0..4c3ef079bffc 100644 --- a/.github/workflows/pd-tests.yaml +++ b/.github/workflows/pd-tests.yaml @@ -29,11 +29,11 @@ jobs: outputs: job-total: 13 steps: + - name: Checkout code + uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: '1.21' - - name: Checkout code - uses: actions/checkout@v4 - name: Restore cache uses: actions/cache@v4 with: @@ -53,7 +53,7 @@ jobs: mv covprofile covprofile_$WORKER_ID sed -i "/failpoint_binding/d" covprofile_$WORKER_ID - name: Upload coverage result ${{ matrix.worker_id }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: cover-reports path: covprofile_${{ matrix.worker_id }} diff --git a/.github/workflows/tso-consistency-test.yaml b/.github/workflows/tso-consistency-test.yaml index b3c99c0458f8..3cb24898a100 100644 --- a/.github/workflows/tso-consistency-test.yaml +++ b/.github/workflows/tso-consistency-test.yaml @@ -8,10 +8,10 @@ jobs: tso-consistency-test: runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: '1.21' - - name: Checkout code - uses: actions/checkout@v4 - name: Make TSO Consistency Test run: make test-tso-consistency diff --git a/.github/workflows/tso-function-test.yaml b/.github/workflows/tso-function-test.yaml index 5c673674b7d9..13fd6fe7df68 100644 --- a/.github/workflows/tso-function-test.yaml +++ b/.github/workflows/tso-function-test.yaml @@ -21,10 +21,10 @@ jobs: tso-function-test: runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version: '1.21' - - name: Checkout code - uses: actions/checkout@v4 - name: Make TSO Function Test run: make test-tso-function