From 2f7a231fb407ec59a2e61216cb62734ec6723d7f Mon Sep 17 00:00:00 2001 From: Marcel Hellwig Date: Sun, 24 Sep 2023 09:58:37 +0200 Subject: [PATCH] rename master to main and adjust ci.yml --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73c8e71..4942c7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,8 +2,9 @@ name: Rust on: push: - branches: [ master ] + branches: [ main ] pull_request: + branches: [ main ] schedule: [ cron: "30 6 1 * *" ] env: @@ -15,9 +16,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Check run: cargo check --all-features + - name: Clippy + run: cargo clippy --all-features + - name: Fmt + run: cargo fmt --check --quiet - name: Build run: cargo build --no-default-features --verbose - name: Run tests