From 9bb0ff42715d2c792e98f901b51b2b95591ef862 Mon Sep 17 00:00:00 2001 From: Lukasz Klimek <842586+lklimek@users.noreply.github.com> Date: Mon, 9 Dec 2024 17:06:59 +0100 Subject: [PATCH] chore: setup go later --- .github/workflows/tests.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0a4f75472..40f7c95e6 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