diff --git a/.github/workflows/annocheck.yml b/.github/workflows/annocheck.yml index 8a423b08396d74..0a660f1dea65a0 100644 --- a/.github/workflows/annocheck.yml +++ b/.github/workflows/annocheck.yml @@ -52,7 +52,7 @@ jobs: --without-gmp CONFIGURE_TTY: never - GITPULLOPTIONS: --no-tags origin ${{github.ref}} + GITPULLOPTIONS: --no-tags origin ${{ github.ref }} RUBY_DEBUG: ci rgengc RUBY_TESTOPTS: >- -q diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f2db99235322cd..768eb01d777a03 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -69,7 +69,7 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4 with: - category: '/language:${{matrix.language}}' + category: '/language:${{ matrix.language }}' upload: False output: sarif-results diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index a47d7c249058d8..a1824f4582b1d7 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -53,7 +53,7 @@ env: --without-gmp CONFIGURE_TTY: never - GITPULLOPTIONS: --no-tags origin ${{github.ref}} + GITPULLOPTIONS: --no-tags origin ${{ github.ref }} RUBY_DEBUG: ci rgengc RUBY_TESTOPTS: >- -q diff --git a/.github/workflows/dependabot_automerge.yml b/.github/workflows/dependabot_automerge.yml index 5218404df368ee..081fbd500f68fb 100644 --- a/.github/workflows/dependabot_automerge.yml +++ b/.github/workflows/dependabot_automerge.yml @@ -19,8 +19,8 @@ jobs: check-regexp: 'make \(check, .*\)' wait-interval: 30 - name: Auto-merge for Dependabot PRs - if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'}} + if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' }} run: gh pr merge --auto --rebase "$PR_URL" env: - PR_URL: ${{github.event.pull_request.html_url}} + PR_URL: ${{ github.event.pull_request.html_url }} GITHUB_TOKEN: ${{ secrets.MATZBOT_GITHUB_TOKEN }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 821b36cd9ea5d7..0cd850f26d9006 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -39,7 +39,7 @@ jobs: - macos-12 fail-fast: false env: - GITPULLOPTIONS: --no-tags origin ${{github.ref}} + GITPULLOPTIONS: --no-tags origin ${{ github.ref }} runs-on: ${{ matrix.os }} if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }} steps: diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index 27200e49d00172..409e38c9df7dc8 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -44,7 +44,7 @@ jobs: CXXFLAGS: '-march=x86-64 -mtune=generic -O3 -pipe' CPPFLAGS: '-D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048' LDFLAGS: '-pipe' - GITPULLOPTIONS: --no-tags origin ${{github.ref}} + GITPULLOPTIONS: --no-tags origin ${{ github.ref }} strategy: matrix: include: @@ -117,7 +117,7 @@ jobs: env: GNUMAKEFLAGS: '' RUBY_TESTOPTS: '-v --tty=no' - if: ${{matrix.test_task == 'check' || matrix.test_task == 'test'}} + if: ${{ matrix.test_task == 'check' || matrix.test_task == 'test' }} - name: test-all timeout-minutes: 45 @@ -130,13 +130,13 @@ jobs: --retry --job-status=normal --show-skip --timeout-scale=1.5 ${{ matrix.test-all-opts }} BUNDLER_VERSION: - if: ${{matrix.test_task == 'check' || matrix.test_task == 'test-all' || StartsWith(matrix.test_task, 'test/')}} + if: ${{ matrix.test_task == 'check' || matrix.test_task == 'test-all' || StartsWith(matrix.test_task, 'test/') }} - name: test-spec timeout-minutes: 10 run: | make ${{ StartsWith(matrix.test_task, 'spec/') && matrix.test_task || 'test-spec' }} - if: ${{matrix.test_task == 'check' || matrix.test_task == 'test-spec' || StartsWith(matrix.test_task, 'spec/')}} + if: ${{ matrix.test_task == 'check' || matrix.test_task == 'test-spec' || StartsWith(matrix.test_task, 'spec/') }} - uses: ./src/.github/actions/slack with: diff --git a/.github/workflows/rjit.yml b/.github/workflows/rjit.yml index 85708d6b45660b..1cd0a8a96f3bea 100644 --- a/.github/workflows/rjit.yml +++ b/.github/workflows/rjit.yml @@ -42,7 +42,7 @@ jobs: arch: [''] fail-fast: false env: - GITPULLOPTIONS: --no-tags origin ${{github.ref}} + GITPULLOPTIONS: --no-tags origin ${{ github.ref }} RUBY_DEBUG: ci SETARCH: ${{ matrix.arch && format('setarch {0}', matrix.arch) }} runs-on: ubuntu-22.04 @@ -60,7 +60,7 @@ jobs: makeup: true - name: Run configure env: - arch: ${{matrix.arch}} + arch: ${{ matrix.arch }} run: >- $SETARCH ../src/configure -C --disable-install-doc cppflags=-DRUBY_DEBUG ${arch:+--target=$arch-$OSTYPE --host=$arch-$OSTYPE} diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index b66c33f59a5003..77c7fe3c5145b8 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -49,7 +49,7 @@ jobs: - test_task: test-bundled-gems fail-fast: false env: - GITPULLOPTIONS: --no-tags origin ${{github.ref}} + GITPULLOPTIONS: --no-tags origin ${{ github.ref }} RUBY_DEBUG: ci runs-on: ubuntu-20.04 if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }} @@ -60,7 +60,7 @@ jobs: sparse-checkout: /.github - uses: ./.github/actions/setup/ubuntu with: - arch: ${{matrix.arch}} + arch: ${{ matrix.arch }} - uses: ./.github/actions/setup/directories with: srcdir: src @@ -68,8 +68,8 @@ jobs: makeup: true - name: Run configure env: - arch: ${{matrix.arch}} - configure: ${{matrix.configure}} + arch: ${{ matrix.arch }} + configure: ${{ matrix.configure }} run: >- $SETARCH ../src/configure -C --disable-install-doc ${configure:-cppflags=-DRUBY_DEBUG} ${arch:+--target=$arch-$OSTYPE --host=$arch-$OSTYPE} diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml index 8fcb564bff790d..60d1354d6f1cac 100644 --- a/.github/workflows/wasm.yml +++ b/.github/workflows/wasm.yml @@ -45,7 +45,7 @@ jobs: fail-fast: false env: RUBY_TESTOPTS: '-q --tty=no' - GITPULLOPTIONS: --no-tags origin ${{github.ref}} + GITPULLOPTIONS: --no-tags origin ${{ github.ref }} WASI_SDK_VERSION_MAJOR: 14 WASI_SDK_VERSION_MINOR: 0 BINARYEN_VERSION: 109 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1dc6defd325202..bb6a483153a0df 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -41,7 +41,7 @@ jobs: if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }} name: VisualStudio ${{ matrix.vs }} env: - GITPULLOPTIONS: --no-tags origin ${{github.ref}} + GITPULLOPTIONS: --no-tags origin ${{ github.ref }} PATCH: C:\msys64\usr\bin\patch.exe OS_VER: windows-${{ matrix.vs < 2022 && '2019' || matrix.vs }} # FIXME: This is a workaround for the vcpkg's issue present as of openssl 3.1.1 @@ -133,7 +133,7 @@ jobs: timeout-minutes: 10 - run: nmake test-all env: - RUBY_TESTOPTS: -j${{env.TEST_JOBS}} --job-status=normal + RUBY_TESTOPTS: -j${{ env.TEST_JOBS }} --job-status=normal timeout-minutes: 60 - uses: ./.github/actions/slack with: diff --git a/.github/workflows/yjit-ubuntu.yml b/.github/workflows/yjit-ubuntu.yml index dd31c95127ed93..d550d78c681db2 100644 --- a/.github/workflows/yjit-ubuntu.yml +++ b/.github/workflows/yjit-ubuntu.yml @@ -88,7 +88,7 @@ jobs: configure: '--enable-yjit=dev' yjit_bench_opts: '--yjit-stats' env: - GITPULLOPTIONS: --no-tags origin ${{github.ref}} + GITPULLOPTIONS: --no-tags origin ${{ github.ref }} RUN_OPTS: ${{ matrix.yjit_opts }} YJIT_BENCH_OPTS: ${{ matrix.yjit_bench_opts }} RUBY_DEBUG: ci