From a3a3dec5c8de79b3fd291bc6c91a95f7b0c85746 Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Thu, 12 Mar 2026 19:43:55 +0000 Subject: [PATCH] Fix broken YAML in telemetry-validation workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous suggestion commits introduced duplicate keys and missing YAML structure. This commit fixes: - Duplicate env: block → single block with ccache vars - Missing jobs: key - Duplicate apt-get install → single line with ccache - Missing 'Install Python dependencies' step name - Duplicate 'uses: setup-conan' - Missing 'uses: actions/cache@v4' and 'with:' for cache step - Duplicate 'Configure CMake' step name Co-Authored-By: Claude Opus 4.6 --- .github/workflows/telemetry-validation.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/telemetry-validation.yml b/.github/workflows/telemetry-validation.yml index ccee28b5d2..c977d15fb3 100644 --- a/.github/workflows/telemetry-validation.yml +++ b/.github/workflows/telemetry-validation.yml @@ -57,13 +57,13 @@ concurrency: group: telemetry-validation-${{ github.ref }} cancel-in-progress: true -env: - BUILD_DIR: build env: BUILD_DIR: build CCACHE_REMOTE_ONLY: true CCACHE_REMOTE_STORAGE: "http://cache.dev.ripplex.io:8080|layout=bazel" CCACHE_NAMESPACE: telemetry-validation + +jobs: validate-telemetry: name: Telemetry Stack Validation runs-on: ubuntu-latest @@ -76,9 +76,9 @@ env: - name: Install system dependencies run: | sudo apt-get update - sudo apt-get install -y curl jq bc python3 python3-pip ninja-build - sudo apt-get install -y curl jq bc python3 python3-pip ninja-build ccache + + - name: Install Python dependencies run: pip3 install -r docker/telemetry/workload/requirements.txt - name: Install Conan @@ -89,13 +89,13 @@ env: - name: Set up Conan uses: ./.github/actions/setup-conan - uses: ./.github/actions/setup-conan - - name: Log into Conan remote if: ${{ github.repository == 'XRPLF/rippled' }} run: conan remote login xrplf "${{ secrets.CONAN_REMOTE_USERNAME }}" --password "${{ secrets.CONAN_REMOTE_PASSWORD }}" - name: Cache Conan packages + uses: actions/cache@v4 + with: path: ~/.conan2/p key: telemetry-conan-${{ runner.os }}-${{ hashFiles('conanfile.py') }} restore-keys: | @@ -111,7 +111,6 @@ env: build_nproc: 4 build_type: Release - - name: Configure CMake - name: Configure CMake working-directory: ${{ env.BUILD_DIR }} run: | @@ -122,6 +121,7 @@ env: -DCMAKE_C_COMPILER_LAUNCHER=ccache \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ .. + - name: Build xrpld working-directory: ${{ env.BUILD_DIR }} run: |