diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93791b296ae..df1b15d7fed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,7 +110,7 @@ jobs: if: matrix.sys == 'disable' with: path: ports - key: ports-ubuntu-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} + key: ports-ubuntu-${{matrix.ruby}}-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} - run: bundle install --local || bundle install - run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries - run: bundle exec rake test @@ -141,7 +141,7 @@ jobs: if: matrix.sys == 'disable' with: path: ports - key: ports-ubuntu-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} + key: ports-ubuntu-${{matrix.ruby}}-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} - run: bundle install --local || bundle install - run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries - run: bundle exec rake test:valgrind @@ -202,7 +202,7 @@ jobs: if: matrix.sys == 'disable' with: path: ports - key: ports-ubuntu-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} + key: ports-ubuntu-${{matrix.ruby}}-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} - run: bundle install --local || bundle install - run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries - run: bundle exec rake test @@ -227,7 +227,7 @@ jobs: if: matrix.sys == 'disable' with: path: ports - key: ports-ubuntu-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} + key: ports-ubuntu-${{matrix.ruby}}-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} - run: bundle install --local || bundle install - run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries - run: bundle exec rake test:valgrind @@ -378,7 +378,7 @@ jobs: if: matrix.sys == 'disable' with: path: ports - key: ports-ubuntu-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} + key: ports-ubuntu-${{matrix.ruby}}-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} - run: bundle install --local || bundle install - run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries - run: bundle exec rake test:memcheck diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 5b44bebf6fd..4e4b161b463 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -57,7 +57,7 @@ jobs: # command: "bundle exec rake compile rspec" runs-on: ubuntu-latest container: - image: ghcr.io/sparklemotion/nokogiri-test:mri-3.1 + image: ghcr.io/sparklemotion/nokogiri-test:mri-3.2 steps: - uses: actions/checkout@v4 with: @@ -65,7 +65,7 @@ jobs: - uses: actions/cache@v3 with: path: ports - key: ports-ubuntu-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} + key: ports-ubuntu-3.2-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} - if: matrix.precommand run: ${{matrix.precommand}} - run: gem install bundler -v ">= 2.3.22" # for "add --path" diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml index 6176c985309..b9d65333e14 100644 --- a/.github/workflows/upstream.yml +++ b/.github/workflows/upstream.yml @@ -142,7 +142,7 @@ jobs: if: matrix.sys == 'disable' with: path: ports - key: ports-ubuntu-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} + key: ports-ubuntu-head-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} - run: bundle exec rake compile -- --${{matrix.sys}}-system-libraries - run: bundle exec rake test:valgrind - run: bundle exec rake test:memcheck @@ -164,7 +164,7 @@ jobs: html5lib-tests: runs-on: ubuntu-latest container: - image: ghcr.io/sparklemotion/nokogiri-test:mri-3.1 + image: ghcr.io/sparklemotion/nokogiri-test:mri-3.2 steps: - uses: actions/checkout@v4 with: @@ -172,7 +172,7 @@ jobs: - uses: actions/cache@v3 with: path: ports - key: ports-ubuntu-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} + key: ports-ubuntu-3.2-${{hashFiles('dependencies.yml', 'patches/**/*.patch')}} - name: Update html5lib-tests run: | cd test/html5lib-tests