From 34a19e5a0aef1464208128bc85b666d319f3d574 Mon Sep 17 00:00:00 2001 From: Code and Solder Date: Tue, 29 Sep 2026 05:03:41 +0200 Subject: [PATCH 1/3] ci: run MSRV only for releases --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d9b8ac..dcab2b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,7 @@ name: CI on: push: branches: [main] + tags: ["v*"] pull_request: workflow_dispatch: @@ -36,6 +37,7 @@ jobs: msrv: name: MSRV (Rust 1.94.1) + if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-24.04 timeout-minutes: 30 # Rust 1.94 remains the compatibility contract. Keep this lane separate From 31e6bc50a0c573ad3b22ee52f1780fca3a7cebd2 Mon Sep 17 00:00:00 2001 From: Code and Solder Date: Tue, 29 Sep 2026 05:06:34 +0200 Subject: [PATCH 2/3] ci: keep routine checks on stable Linux x86-64-v2 --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dcab2b9..d608dee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,6 +109,8 @@ jobs: clippy: name: Clippy (native) runs-on: ubuntu-24.04 + env: + RUSTFLAGS: "-C target-cpu=x86-64-v2" timeout-minutes: 30 env: CARGO_INCREMENTAL: "1" @@ -145,6 +147,7 @@ jobs: wasm-check: name: WASM link (${{ matrix.package }}) + if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-24.04 timeout-minutes: 30 strategy: @@ -168,6 +171,8 @@ jobs: unit-tests: name: Unit tests runs-on: ubuntu-24.04 + env: + RUSTFLAGS: "-C target-cpu=x86-64-v2" timeout-minutes: 30 env: SCCACHE_DIR: ${{ github.workspace }}/.sccache/unit-tests @@ -199,6 +204,7 @@ jobs: audit: name: Dependency audit + if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-24.04 timeout-minutes: 20 steps: @@ -222,6 +228,7 @@ jobs: leptos-build: name: Leptos production builds + if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-24.04 timeout-minutes: 45 env: @@ -275,6 +282,7 @@ jobs: docker-build: name: Docker image (${{ matrix.image }}) + if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-24.04 timeout-minutes: 45 strategy: @@ -308,6 +316,7 @@ jobs: e2e-tests: name: Browser + integration E2E + if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-24.04 timeout-minutes: 60 env: From 2f1325d16e66e27b97f4d61be3e2f55a52c09a48 Mon Sep 17 00:00:00 2001 From: Code and Solder Date: Tue, 29 Sep 2026 05:06:53 +0200 Subject: [PATCH 3/3] ci: merge x86-64-v2 env into stable jobs --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d608dee..2702128 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,10 +109,9 @@ jobs: clippy: name: Clippy (native) runs-on: ubuntu-24.04 - env: - RUSTFLAGS: "-C target-cpu=x86-64-v2" timeout-minutes: 30 env: + RUSTFLAGS: "-C target-cpu=x86-64-v2" CARGO_INCREMENTAL: "1" steps: - uses: actions/checkout@v7 @@ -171,10 +170,9 @@ jobs: unit-tests: name: Unit tests runs-on: ubuntu-24.04 - env: - RUSTFLAGS: "-C target-cpu=x86-64-v2" timeout-minutes: 30 env: + RUSTFLAGS: "-C target-cpu=x86-64-v2" SCCACHE_DIR: ${{ github.workspace }}/.sccache/unit-tests SCCACHE_CACHE_SIZE: "1G" RUSTC_WRAPPER: "sccache"