diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 9d718e3c..b23a0087 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -27,11 +27,11 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} if: ${{ github.repository_owner == 'puppetlabs' }} - - name: Activate Ruby 2.7 + - name: Activate Ruby 3.1 uses: ruby/setup-ruby@v1 if: ${{ github.repository_owner == 'puppetlabs' }} with: - ruby-version: "2.7" + ruby-version: "3.1" bundler-cache: true - name: Print bundle environment @@ -67,10 +67,10 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} - - name: Activate Ruby 2.7 + - name: Activate Ruby 3.1 uses: ruby/setup-ruby@v1 with: - ruby-version: "2.7" + ruby-version: "3.1" bundler-cache: true - name: Print bundle environment