From 1d3a6c5850fa0ff9d60d8d4be620abc610550d22 Mon Sep 17 00:00:00 2001 From: anupsv Date: Wed, 12 Feb 2025 13:55:05 -0800 Subject: [PATCH] Update codeql-scanning.yaml (#1267) --- .github/workflows/codeql-scanning.yaml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql-scanning.yaml b/.github/workflows/codeql-scanning.yaml index 88b50e0ef0..3effbcea0c 100644 --- a/.github/workflows/codeql-scanning.yaml +++ b/.github/workflows/codeql-scanning.yaml @@ -18,7 +18,7 @@ on: - 'common/**' - 'api/**' - '.github/codeql/**' - - '.github/workflows/codeql-analysis.yml' + - '.github/workflows/codeql-scanning.yaml' schedule: - cron: '0 9 * * *' @@ -46,10 +46,19 @@ jobs: with: go-version: '1.21.13' - - name: Custom build using make + - name: Build contract dependencies run: | - go install github.com/ethereum/go-ethereum/cmd/abigen@latest - make compile-contracts + cd contracts && yarn + + - name: Compile contracts + run: | + cd contracts && forge build + + # Ref: https://github.com/Layr-Labs/eigenda/blob/master/.github/workflows/integration-tests.yml#L71C7-L71C67 + # - name: Custom build using make + # run: | + # go install github.com/ethereum/go-ethereum/cmd/abigen@latest + # make compile-contracts # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL