From a9f4735b8677221338a8624254c083e0b19303a9 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Mon, 23 Oct 2023 07:18:54 -0400 Subject: [PATCH] Reduce log output during Actions workflows. --- .github/workflows/ci.yml | 4 +++- .github/workflows/codeql-analysis.yml | 4 +++- .github/workflows/lint.yml | 8 ++++++-- .github/workflows/pypi-package.yml | 3 ++- .github/workflows/test.yml | 4 +++- 5 files changed, 17 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8156d69..92f8374 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,9 @@ jobs: versions: ${{ steps.get_versions.outputs.versions }} need_ci: ${{ (steps.preflight.outputs.need_ci == 'true') || (steps.preflight.outputs.need_image == 'true') }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - id: get_versions run: cat workflow-support/versions.json >> $GITHUB_OUTPUT - id: details diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a40d375..55d8550 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -27,7 +27,9 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 + with: + show-progress: false - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6ae6291..277cd4a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,9 @@ jobs: image_base: ${{ steps.details.outputs.image_base }} need_lint: ${{ steps.preflight.outputs.need_lint == 'true' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - id: details uses: kpfleming/composite-actions/image-details@v2 with: @@ -31,5 +33,7 @@ jobs: container: image: ${{ needs.preflight.outputs.image_base }}:main steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - uses: kpfleming/composite-actions/lint-hatch@v2 diff --git a/.github/workflows/pypi-package.yml b/.github/workflows/pypi-package.yml index b0d4ee4..ca20c5b 100644 --- a/.github/workflows/pypi-package.yml +++ b/.github/workflows/pypi-package.yml @@ -21,9 +21,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 + show-progress: false - uses: hynek/build-and-inspect-python-package@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 01fa883..681c12b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,9 @@ jobs: container: image: ${{ inputs.image }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + show-progress: false - name: build wheel run: hatch build -t wheel shell: bash