diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0a4f75472c..40f7c95e68 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,10 +14,8 @@ jobs: matrix: part: ["00", "01", "02", "03", "04", "05"] steps: - - uses: actions/setup-go@v5.1.0 - with: - go-version: "1.23.2" - uses: actions/checkout@v4 + - uses: technote-space/get-diff-action@v6 with: PATTERNS: | @@ -28,9 +26,15 @@ jobs: go.sum Makefile + - uses: actions/setup-go@v5.1.0 + if: env.GIT_DIFF + with: + go-version: "1.23.2" + - name: Install libpcap if: env.GIT_DIFF run: sudo apt-get install --yes libpcap-dev + - uses: ./.github/actions/bls name: Install BLS library if: env.GIT_DIFF