From d27486f80d3c278e0e50fcdf5cd29f4e3eb78d66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Thu, 4 Apr 2024 21:12:17 +0900 Subject: [PATCH] chore(ci): make lint happy --- .github/workflows/release.yml | 6 +++--- .github/workflows/test.yml | 6 +++--- test/wrap_test.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc5d350..3a53864 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Check out code + - name: Checkout Code uses: actions/checkout@v2 - - name: Set up Build tools + - name: Setup Build Tools run: | sudo apt-get update sudo apt-get install -y gcc @@ -32,7 +32,7 @@ jobs: -include cosmopolitan.h crt.o ape.o cosmopolitan.a objcopy -S -O binary base16384.com.dbg base16384.com - - name: Upload binaries to release + - name: Upload Binaries to Release uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0836093..5edd99e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,10 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Check out code + - name: Checkout Code uses: actions/checkout@v2 - - name: Set up Build tools + - name: Setup Build Tools run: | sudo apt-get update sudo apt-get install -y gcc cmake @@ -21,4 +21,4 @@ jobs: cd build cmake -DBUILD=test .. make - make test + make test || make test --rerun-failed --output-on-failure diff --git a/test/wrap_test.c b/test/wrap_test.c index 467914c..aef1748 100644 --- a/test/wrap_test.c +++ b/test/wrap_test.c @@ -73,7 +73,7 @@ char tstbuf[BASE16384_ENCBUFSZ]; } \ } fclose(fp); \ if (sum_input != sum_validate) { \ - fprintf(stderr, "loop @%d, expect: %016llx, got: %016llx: ", i, sum_input, sum_validate); \ + fprintf(stderr, "loop @%d, expect: %016llx, got: %016llx: ", i, (unsigned long long)sum_input, (unsigned long long)sum_validate); \ fputs(TEST_INPUT_FILENAME " and " TEST_VALIDATE_FILENAME " mismatch.", stderr); \ return 1; \ }