From 1d8dea0724d3a88e9a461f3602352a5586dcc97f Mon Sep 17 00:00:00 2001 From: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> Date: Fri, 29 Nov 2024 21:11:25 +1100 Subject: [PATCH] Run CI on main whenever dependencies have changed To update the cache. Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com> --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7c24a634..b3602944 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,14 @@ on: - opened - reopened - synchronize - schedule: - - cron: "0 3 * * 6" + push: + branches: + - main + paths: + - 'Cargo.lock' + - 'Cargo.toml' + - '**/Cargo.toml' + concurrency: group: ${{ github.workflow }}-${{ github.ref || github.event.pull_request.number || github.sha }}-${{ inputs.additional_key }}