From 23b80f97e853ea36d89d952a71330c6fa367d5f0 Mon Sep 17 00:00:00 2001 From: Adam Mika Date: Fri, 1 Dec 2023 14:54:29 -0700 Subject: [PATCH] attempt 2 - commenting out test job to save resources while I debug this --- .github/workflows/ci.yml | 37 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16bfce2e..e6fe404e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,21 +12,21 @@ env: CARGO_TERM_COLOR: always jobs: - test: - name: cargo test - strategy: - matrix: - os: [ ubuntu-latest, macos-latest, windows-latest ] - rust: [stable, nightly] - runs-on: ${{ matrix.os }} - steps: - - uses: actions/checkout@v4 - - name: Set up Rust - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - - name: Test - run: cargo test --workspace + # test: + # name: cargo test + # strategy: + # matrix: + # os: [ ubuntu-latest, macos-latest, windows-latest ] + # rust: [stable, nightly] + # runs-on: ${{ matrix.os }} + # steps: + # - uses: actions/checkout@v4 + # - name: Set up Rust + # uses: actions-rust-lang/setup-rust-toolchain@v1 + # with: + # toolchain: ${{ matrix.rust }} + # - name: Test + # run: cargo test --workspace format: name: cargo fmt runs-on: ubuntu-latest @@ -42,20 +42,15 @@ jobs: components: rustfmt - name: Rustfmt Check uses: actions-rust-lang/rustfmt@v1 - - name: Save Failure Summary (if needed) - if: failure() - run: echo "$GITHUB_STEP_SUMMARY" > summary.md - name: Comment Failure Summary (if needed) if: failure() && github.event_name == 'pull_request' uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | - const fs = require('fs'); - const summary = fs.readFileSync('summary.md', 'utf8'); github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: summary + body: $GITHUB_STEP_SUMMARY });