about summary refs log tree commit diff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJakub Beránek <jakub.beranek@vsb.cz>2024-12-09 22:08:01 +0100
committerJakub Beránek <berykubik@gmail.com>2024-12-16 12:35:09 +0100
commit6e22b8429648868c34acf3c56a5020ba6b6fad6a (patch)
tree09e552bdaa12d15cb70d5b73a9c79711ecb7216c /.github/workflows
parenta224f3807e58afc9353510f1d556c607d367545d (diff)
downloadrust-6e22b8429648868c34acf3c56a5020ba6b6fad6a.tar.gz
rust-6e22b8429648868c34acf3c56a5020ba6b6fad6a.zip
[CI] Use a lockfile for installing the `datadog` package
Without a lockfile, it could fail to compile when the dependencies have changed.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f6df348b721..553ef676154 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -235,8 +235,9 @@ jobs:
           DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
           DD_GITHUB_JOB_NAME: ${{ matrix.name }}
         run: |
-          npm install -g @datadog/datadog-ci@^2.x.x
-          python3 src/ci/scripts/upload-build-metrics.py build/cpu-usage.csv
+          cd src/ci
+          npm ci
+          python3 scripts/upload-build-metrics.py ../../build/cpu-usage.csv
 
   # This job isused to tell bors the final status of the build, as there is no practical way to detect
   # when a workflow is successful listening to webhooks only in our current bors implementation (homu).