diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index ddda77b..5c5a742 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -49,7 +49,8 @@ jobs: - name: Check if dependencies changed id: check-deps run: | - # Get hash of Cargo.toml and Cargo.lock + # Change to repository directory and get hash of Cargo.toml and Cargo.lock + cd "$GITHUB_WORKSPACE" DEPS_HASH=$(sha256sum Cargo.toml Cargo.lock | sha256sum | cut -d' ' -f1) echo "deps_hash=$DEPS_HASH" >> $GITHUB_OUTPUT