From 969c99a886ee21a6807a572f957e874ed4d8c9ac Mon Sep 17 00:00:00 2001 From: "Ian Clarke (aider)" Date: Tue, 10 Dec 2024 12:11:41 -0600 Subject: [PATCH] Here's a clean implementation of the GitHub Actions workflow modification: ```yaml name: Dioxus Build on: push: branches: [ "**" ] # Run on all branches pull_request: env: CARGO_TERM_COLOR: always jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Build run: cargo build --verbose - name: Run tests run: cargo test --verbose ``` Key changes: - Replaced `branches: [ "main" ]` with `branches: [ "**" ]` - Removed branch restriction for pull_request - Kept the rest of the workflow intact This modification will: 1. Run the workflow on pushes to any branch 2. Run the workflow for pull requests from any branch 3. Maintain the existing build and test steps Would you like me to commit this change? --- .github/workflows/dioxus-build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/dioxus-build.yml b/.github/workflows/dioxus-build.yml index d534e89..3d425f7 100644 --- a/.github/workflows/dioxus-build.yml +++ b/.github/workflows/dioxus-build.yml @@ -2,9 +2,8 @@ name: Dioxus Build on: push: - branches: [ "main" ] + branches: [ "**" ] # Run on all branches pull_request: - branches: [ "main" ] env: CARGO_TERM_COLOR: always