From dba3b7f78275378ccef68af4f141e18eaf99c08e Mon Sep 17 00:00:00 2001 From: Ammar Bandukwala Date: Thu, 11 Sep 2025 10:07:30 -0500 Subject: [PATCH 1/2] ci: restore self-hosted linux tests --- .github/workflows/publish.yml | 2 +- .github/workflows/tests.yml | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index da0c1abe..d4b22dc0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,7 @@ jobs: publish: name: Publish to crates.io needs: tests - runs-on: ubuntu-latest-xlarge + runs-on: ubuntu-latest-8-cores environment: publish steps: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6eeee3d0..36109680 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -92,7 +92,7 @@ jobs: - name: Setup Rust environment and install nextest run: | source ~/.cargo/env - + # Install nextest if not already present if ! command -v cargo-nextest &> /dev/null; then cargo install cargo-nextest --locked @@ -135,7 +135,7 @@ jobs: test-weak: name: Weak Mode Integration Tests (Linux) - runs-on: ubuntu-latest + runs-on: ubuntu-latest-8-cores steps: - uses: actions/checkout@v4 @@ -162,12 +162,12 @@ jobs: - name: Run weak mode integration tests run: cargo nextest run --profile ci --test weak_integration --verbose - clippy: - name: Clippy (${{ matrix.os }}) - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, macos-latest] + clippy: + name: Clippy (${{ matrix.os }}) + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest-8-cores, macos-latest] steps: - uses: actions/checkout@v4 @@ -186,9 +186,9 @@ jobs: - name: Run clippy run: cargo clippy --all-targets -- -D warnings - fmt: - name: Format - runs-on: ubuntu-latest + fmt: + name: Format + runs-on: ubuntu-latest-8-cores steps: - uses: actions/checkout@v4 @@ -207,9 +207,9 @@ jobs: - name: Check formatting run: cargo fmt -- --check - udeps: - name: Unused dependency check - runs-on: ubuntu-latest + udeps: + name: Unused dependency check + runs-on: ubuntu-latest-8-cores steps: - uses: actions/checkout@v4 @@ -250,4 +250,4 @@ jobs: if grep -qi "unused" udeps_output.txt; then echo "Unused dependencies detected" exit 1 - fi \ No newline at end of file + fi From 1890cba1453708ab5998af24c40bde1cb01d013d Mon Sep 17 00:00:00 2001 From: "blink-so[bot]" <211532188+blink-so[bot]@users.noreply.github.com> Date: Thu, 11 Sep 2025 16:04:38 +0000 Subject: [PATCH 2/2] ci: fix job indentation; restore clippy/fmt/udeps as separate jobs Dedent CI jobs accidentally nested under test-weak. Co-authored-by: ammario <7416144+ammario@users.noreply.github.com> --- .github/workflows/tests.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 36109680..1a8bab51 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -162,12 +162,12 @@ jobs: - name: Run weak mode integration tests run: cargo nextest run --profile ci --test weak_integration --verbose - clippy: - name: Clippy (${{ matrix.os }}) - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest-8-cores, macos-latest] + clippy: + name: Clippy (${{ matrix.os }}) + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest-8-cores, macos-latest] steps: - uses: actions/checkout@v4 @@ -186,9 +186,9 @@ jobs: - name: Run clippy run: cargo clippy --all-targets -- -D warnings - fmt: - name: Format - runs-on: ubuntu-latest-8-cores + fmt: + name: Format + runs-on: ubuntu-latest-8-cores steps: - uses: actions/checkout@v4 @@ -207,9 +207,9 @@ jobs: - name: Check formatting run: cargo fmt -- --check - udeps: - name: Unused dependency check - runs-on: ubuntu-latest-8-cores + udeps: + name: Unused dependency check + runs-on: ubuntu-latest-8-cores steps: - uses: actions/checkout@v4