From 7cd5d8835e05cf535f096014460895b4899d9227 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Tue, 17 Sep 2024 20:38:12 -0700 Subject: [PATCH] use gha setup python --- .github/actions/test-ruby/action.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/actions/test-ruby/action.yml b/.github/actions/test-ruby/action.yml index d162e1cf..ab1ff405 100644 --- a/.github/actions/test-ruby/action.yml +++ b/.github/actions/test-ruby/action.yml @@ -54,15 +54,19 @@ runs: bundler-cache: true ruby-version: ${{ inputs.RUBY_VERSION }} - - name: Additional Setup - if: inputs.ADDITIONAL_SETUP != '[]' - shell: bash - run: | - additional_setup='${{ inputs.ADDITIONAL_SETUP }}' - echo "$additional_setup" | jq -r '.[]' | while read -r command; do - echo "Executing additional setup command: $command" - eval "$command" - done + - uses: actions/setup-python@v5 + with: + python-version: '3.9.2' + + # - name: Additional Setup + # if: inputs.ADDITIONAL_SETUP != '[]' + # shell: bash + # run: | + # additional_setup='${{ inputs.ADDITIONAL_SETUP }}' + # echo "$additional_setup" | jq -r '.[]' | while read -r command; do + # echo "Executing additional setup command: $command" + # eval "$command" + # done - uses: actions/cache@v4 with: