From 1cfd2975e20b615e9dbd3d8df0c89641b11aecc1 Mon Sep 17 00:00:00 2001 From: Ian Anderson Date: Mon, 9 Dec 2024 15:17:52 -0500 Subject: [PATCH] Test GitHub action for sparsely checking out metric collection level patterns from core Yugabyte repo --- .github/workflows/go.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8000297..ea88ebf 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -5,14 +5,23 @@ name: Go on: push: - branches: [ "master" ] + branches: [ "actions-sandbox" ] jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Check out prometheus-remote-backfill code + uses: actions/checkout@v4 + + - name: Check out Yugabyte metrics collection level definitions + uses: actions/checkout@v4 + with: + repository: 'yugabyte/yugabyte-db' + sparse-checkout-cone-mode: false + sparse-checkout: | + managed/src/main/resources/metric/*_level_params.json - name: Set up Go uses: actions/setup-go@v5