diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index e841d5ea7..f4717465b 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -85,18 +85,17 @@ jobs: run: python -Im build --config-setting=pure-python=true - name: Determine actual created filenames id: dist-filenames-detection - run: > - echo -n sdist-filename= >> "${GITHUB_OUTPUT}" - - - basename $(ls -1 dist/${{ needs.pre-setup.outputs.sdist-name }}) - >> "${GITHUB_OUTPUT}" - - - echo -n wheel-filename= >> "${GITHUB_OUTPUT}" - - - basename $(ls -1 dist/${{ needs.pre-setup.outputs.wheel-name }}) + run: >- + { + echo -n sdist-filename= + ; + basename "$(ls -1 dist/${{ needs.pre-setup.outputs.sdist-name }})" + ; + echo -n wheel-filename= + ; + basename "$(ls -1 dist/${{ needs.pre-setup.outputs.wheel-name }})" + ; + } >> "${GITHUB_OUTPUT}" - name: Upload built artifacts for testing uses: actions/upload-artifact@v3 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 64be7dcd9..0b69535b4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,8 @@ ci: autoupdate_schedule: quarterly + skip: + - actionlint-docker repos: - repo: https://github.com/pre-commit/pre-commit-hooks @@ -185,4 +187,14 @@ repos: - yarl/ pass_filenames: false +- repo: https://github.com/rhysd/actionlint.git + rev: v1.6.26 + hooks: + - id: actionlint-docker + args: + - -ignore + - >- # https://github.com/rhysd/actionlint/issues/384 + ^type of expression at "float number value" must be number + but found type string$ + ...