From e326e242ffdc469d5675ba3198c9ef25653bb171 Mon Sep 17 00:00:00 2001 From: Elle Mouton Date: Tue, 11 Jun 2024 14:49:09 -0400 Subject: [PATCH] .github: rebase before running itests & unit tests --- .github/workflows/main.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2b953d756d..7a5038455b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -195,6 +195,12 @@ jobs: steps: - name: git checkout uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: fetch and rebase on ${{ github.base_ref }} + if: github.event_name == 'pull_request' + uses: ./.github/actions/rebase - name: git checkout fuzzing seeds uses: actions/checkout@v3 @@ -261,6 +267,12 @@ jobs: steps: - name: git checkout uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: fetch and rebase on ${{ github.base_ref }} + if: github.event_name == 'pull_request' + uses: ./.github/actions/rebase - name: setup go ${{ env.GO_VERSION }} uses: ./.github/actions/setup-go @@ -306,6 +318,12 @@ jobs: steps: - name: git checkout uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: fetch and rebase on ${{ github.base_ref }} + if: github.event_name == 'pull_request' + uses: ./.github/actions/rebase - name: setup go ${{ env.GO_VERSION }} uses: ./.github/actions/setup-go @@ -344,6 +362,12 @@ jobs: steps: - name: git checkout uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: fetch and rebase on ${{ github.base_ref }} + if: github.event_name == 'pull_request' + uses: ./.github/actions/rebase - name: setup go ${{ env.GO_VERSION }} uses: ./.github/actions/setup-go