From 9476f1b542c0c59d360d701b1558ef82dfeaf0ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 24 Jan 2025 08:32:15 +0100 Subject: [PATCH] Make ruby-core job a non moving target We originally added this in order to prevent us when making changes to our test setup to break the way ruby-core runs our tests. However, the way it works now, it breaks too often due to changes in ruby/ruby because of running against a moving unstable target. We still want to find out this kind of breakage, but not on every PR. Our daily jobs achieve that. This commit changes the ruby-core job to run against a fixed target (the tag for the latest ruby release), which should still catch the kind of issue we intend to catch here. --- .github/workflows/ruby-core.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/ruby-core.yml b/.github/workflows/ruby-core.yml index 92f0213f7fd8..942c9dd8d085 100644 --- a/.github/workflows/ruby-core.yml +++ b/.github/workflows/ruby-core.yml @@ -23,21 +23,11 @@ jobs: matrix: target: [Rubygems, Bundler] steps: - - name: Set up latest ruby head - uses: ruby/setup-ruby@28c4deda893d5a96a6b2d958c5b47fc18d65c9d3 # v1.213.0 - with: - ruby-version: head - bundler: none - - name: Save latest buildable revision to environment - run: echo "REF=$(ruby -v | cut -d')' -f1 | cut -d' ' -f5)" >> $GITHUB_ENV - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: repository: ruby/ruby path: ruby/ruby - fetch-depth: 10 - - name: Checkout the latest buildable revision - run: git switch -c ${{ env.REF }} - working-directory: ruby/ruby + ref: v3_4_1 - name: Install libraries run: | set -x