about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-21 19:35:13 +0200
committerGitHub <noreply@github.com>2024-08-21 19:35:13 +0200
commita3f644ef203aab63f9e6239ec6fdaa5fe5acab59 (patch)
tree1a34a54fbaaae8c7bb9f95efd18c99770ea999cc
parenta08a2ef1b7e02f61ef3a86eeeeace1329e9935c5 (diff)
parent35752cf058047262a9b6e970426db43ffa9ce206 (diff)
downloadrust-a3f644ef203aab63f9e6239ec6fdaa5fe5acab59.tar.gz
rust-a3f644ef203aab63f9e6239ec6fdaa5fe5acab59.zip
Rollup merge of #129264 - tgross35:dependencies-ci-library, r=Kobzol
Update `library/Cargo.toml` in weekly job

Before the workspace split, the library was covered by the weekly `cargo update` cron job. Now that the library has its own workspace, it doesn't get these updates.

Add `library/Cargo.toml` to the job so updates happen again.
-rw-r--r--.github/workflows/dependencies.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml
index 5e54ceea3d7..83b92b7fa09 100644
--- a/.github/workflows/dependencies.yml
+++ b/.github/workflows/dependencies.yml
@@ -64,6 +64,10 @@ jobs:
       - name: cargo update
         # Remove first line that always just says "Updating crates.io index"
         run: cargo update 2>&1 | sed '/crates.io index/d' | tee -a cargo_update.log
+      - name: cargo update library
+        run: |
+          echo -e "\nlibrary dependencies:" >> cargo_update.log
+          cargo update --manifest-path library/Cargo.toml 2>&1 | sed '/crates.io index/d' | tee -a cargo_update.log
       - name: cargo update rustbook
         run: |
           echo -e "\nrustbook dependencies:" >> cargo_update.log
@@ -74,6 +78,7 @@ jobs:
           name: Cargo-lock
           path: |
             Cargo.lock
+            library/Cargo.lock
             src/tools/rustbook/Cargo.lock
           retention-days: 1
       - name: upload cargo-update log artifact for use in PR
@@ -119,7 +124,7 @@ jobs:
           git config user.name github-actions
           git config user.email github-actions@github.com
           git switch --force-create cargo_update
-          git add ./Cargo.lock ./src/tools/rustbook/Cargo.lock
+          git add ./Cargo.lock ./library/Cargo.lock ./src/tools/rustbook/Cargo.lock
           git commit --no-verify --file=commit.txt
 
       - name: push