Repository: EmbarkStudios/cargo-deny (language: rust)

Issue:
CI uses `a version of actions/upload-artifact that is scheduled for deprecation`



Discussion / hints:

Fix patch:
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index c9af9b2a..d9eef82a 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -105,7 +105,7 @@ jobs:
           curl -L https://github.com/rust-lang-nursery/mdBook/releases/download/v${version}/mdbook-v${version}-x86_64-unknown-linux-gnu.tar.gz | tar xzf -
           echo `pwd` >> $GITHUB_PATH
       - run: (cd docs && mdbook build)
-      - uses: actions/upload-artifact@v1
+      - uses: actions/upload-artifact@v4
         with:
           name: doc-book
           path: docs/book
@@ -231,7 +231,6 @@ jobs:
           BUILD_REPOSITORY_ID: ${{ github.repository }}
           BUILD_SOURCEVERSION: ${{ github.sha }}
 
-
   test_success:
     runs-on: ubuntu-22.04
     needs: [typos, lint, test, self, publish-check, doc-book]


Test patch: