From 4a13f4f6b212fa4d8570f8488fc4794c34d677c2 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Wed, 27 Nov 2024 17:09:36 +0100 Subject: [PATCH] ci: update GH actions --- .github/workflows/ci.yml | 10 ++++------ .github/workflows/readme-stars.yml | 1 + 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b67acb7..6feb9f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,9 +25,7 @@ jobs: restore-keys: ${{ runner.os }}-cargo- - name: cargo test run: cargo test - # uncomment to enable clippy linter - # - name: cargo clippy - # run: cargo clippy -- -D warnings - # uncomment to enable format linter - # - name: cargo fmt - # run: cargo fmt --check + - name: cargo clippy + run: cargo clippy -- -D warnings + - name: cargo fmt + run: cargo fmt --check diff --git a/.github/workflows/readme-stars.yml b/.github/workflows/readme-stars.yml index 3de260e..33cc133 100644 --- a/.github/workflows/readme-stars.yml +++ b/.github/workflows/readme-stars.yml @@ -4,6 +4,7 @@ on: # !Please set a different minute than 51 if you enable this! # schedule: # - cron: "51 */6 * * *" # Every 6 hours + push: workflow_dispatch: jobs: