diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4ec06b..885489f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,8 @@ name: Cargo Build & Test on: push: + branches: + - main pull_request: env: @@ -20,4 +22,4 @@ jobs: - uses: actions/checkout@v4 - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} - run: cargo build --verbose - - run: cargo test --verbose \ No newline at end of file + - run: cargo test --verbose diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index 6a86070..0021f4e 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -2,6 +2,8 @@ name: Cargo Fmt & Clippy on: push: + branches: + - main pull_request: env: