From 7f00ab2f16cec03633cef922cd4135ecb68d2e4f Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Thu, 7 May 2026 10:30:47 +0200 Subject: [PATCH] Remove trailing whitespace --- .github/workflows/GnuComment.yml | 10 +++++----- .github/workflows/GnuTests.yml | 2 +- Cargo.toml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/GnuComment.yml b/.github/workflows/GnuComment.yml index 49f181f..909e2dd 100644 --- a/.github/workflows/GnuComment.yml +++ b/.github/workflows/GnuComment.yml @@ -32,12 +32,12 @@ jobs: var matchArtifact = artifacts.data.artifacts.filter((artifact) => { return artifact.name == "comment" })[0]; - + if (!matchArtifact) { console.log('No comment artifact found'); return; } - + var download = await github.rest.actions.downloadArtifact({ owner: context.repo.owner, repo: context.repo.repo, @@ -54,7 +54,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} script: | var fs = require('fs'); - + // Check if files exist if (!fs.existsSync('./NR')) { console.log('No NR file found, skipping comment'); @@ -64,10 +64,10 @@ jobs: console.log('No result.txt file found, skipping comment'); return; } - + var issue_number = Number(fs.readFileSync('./NR')); var content = fs.readFileSync('./result.txt'); - + if (content.toString().trim().length > 7) { // 7 because we have backquote + \n await github.rest.issues.createComment({ owner: context.repo.owner, diff --git a/.github/workflows/GnuTests.yml b/.github/workflows/GnuTests.yml index 38077e3..2543633 100644 --- a/.github/workflows/GnuTests.yml +++ b/.github/workflows/GnuTests.yml @@ -261,7 +261,7 @@ jobs: echo "ONLY_INTERMITTENT=true" >> $GITHUB_ENV echo "::notice ::No new test failures detected" fi - + - name: Upload comparison log (for GnuComment workflow) if: success() || failure() uses: actions/upload-artifact@v7 diff --git a/Cargo.toml b/Cargo.toml index d0db7f4..1ac1b3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -111,7 +111,7 @@ harness = false lto = true panic = "abort" # should be dropped to 1 for binary size without performance drop -codegen-units = 7 +codegen-units = 7 # A release-like profile that is as small as possible. [profile.release-small]