diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index e4f0b03e0..ad7529598 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -11,6 +11,7 @@ on: - cron: "35 23 * * 0" env: + CGO_ENABLED: "1" CODEQL_EXTRACTOR_GO_BUILD_TRACING: "on" YARA_X_RELEASE: "1.16.0" diff --git a/.github/workflows/fuzz.yaml b/.github/workflows/fuzz.yaml index b92b710ab..7534d100d 100644 --- a/.github/workflows/fuzz.yaml +++ b/.github/workflows/fuzz.yaml @@ -30,6 +30,7 @@ on: - "180m" env: + CGO_ENABLED: "1" GO_RELEASE: "go-1.26" YARA_X_RELEASE: "1.16.0" @@ -125,7 +126,7 @@ jobs: - name: Install dependencies run: | apk update - apk add curl findutils git gnutar "${GO_RELEASE}" nodejs upx xz "yara-x~${YARA_X_RELEASE}" + apk add curl findutils gcc git gnutar "${GO_RELEASE}" make nodejs pkgconf upx xz "yara-x~${YARA_X_RELEASE}" - name: Checkout code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/go-tests.yaml b/.github/workflows/go-tests.yaml index 1236fc98b..83a29429e 100644 --- a/.github/workflows/go-tests.yaml +++ b/.github/workflows/go-tests.yaml @@ -12,6 +12,7 @@ on: - "main" env: + CGO_ENABLED: "1" GO_RELEASE: "go-1.26" YARA_X_RELEASE: "1.16.0" @@ -41,7 +42,7 @@ jobs: - name: Install dependencies run: | apk update - apk add curl findutils git gnutar "${GO_RELEASE}" nodejs upx xz "yara-x~${YARA_X_RELEASE}" + apk add curl findutils gcc git gnutar "${GO_RELEASE}" make nodejs pkgconf upx xz "yara-x~${YARA_X_RELEASE}" - name: Checkout code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -92,7 +93,7 @@ jobs: - name: Install dependencies run: | apk update - apk add curl findutils git gnutar "${GO_RELEASE}" nodejs upx xz "yara-x~${YARA_X_RELEASE}" + apk add curl findutils gcc git gnutar "${GO_RELEASE}" make nodejs pkgconf upx xz "yara-x~${YARA_X_RELEASE}" - name: Checkout code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/style.yaml b/.github/workflows/style.yaml index 4559b39e2..f7d57b5ff 100644 --- a/.github/workflows/style.yaml +++ b/.github/workflows/style.yaml @@ -4,6 +4,7 @@ name: Code Style env: + CGO_ENABLED: "1" GO_RELEASE: "go-1.26" YARA_X_RELEASE: "1.16.0" @@ -188,7 +189,7 @@ jobs: - name: Install dependencies run: | apk update - apk add curl findutils git "${GO_RELEASE}" nodejs "yara-x~${YARA_X_RELEASE}" + apk add curl findutils gcc git "${GO_RELEASE}" make nodejs pkgconf "yara-x~${YARA_X_RELEASE}" - name: Checkout code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/third-party.yaml b/.github/workflows/third-party.yaml index 7c682f895..5a8c33b45 100644 --- a/.github/workflows/third-party.yaml +++ b/.github/workflows/third-party.yaml @@ -9,6 +9,7 @@ on: - cron: "0 */12 * * *" env: + CGO_ENABLED: "1" GO_RELEASE: "go-1.26" YARA_X_RELEASE: "1.16.0" @@ -40,7 +41,7 @@ jobs: - name: Install dependencies run: | apk update - apk add bash curl findutils gh git gnutar "${GO_RELEASE}" nodejs perl upx xz "yara-x~${YARA_X_RELEASE}" + apk add bash curl findutils gcc gh git gnutar "${GO_RELEASE}"} make nodejs perl pkgconf upx xz "yara-x~${YARA_X_RELEASE}" - uses: chainguard-dev/actions/setup-gitsign@c69a264ec2a5934c3186c618f368fc1c86f16cff # main - name: Set up Octo-STS uses: octo-sts/action@f603d3be9d8dd9871a265776e625a27b00effe05 # v1.1.1