Sha256: 8326ded82ef8f850401d03fb2190c545fbdd8002cc335aff5ba2320cb5bac5cb

Contents?: true

Size: 1.21 KB

Versions: 5

Compression:

Stored size: 1.21 KB

Contents

name: "upstream"

concurrency:
  group: "${{github.workflow}}-${{github.ref}}"
  cancel-in-progress: true

on:
  workflow_dispatch:
  schedule:
    - cron: "0 8 * * 5" # At 08:00 on Friday # https://crontab.guru/#0_8_*_*_5
  push:
    branches:
      - main
  pull_request:
    types: [opened, synchronize]
    branches:
      - main
    paths:
      - .github/workflows/upstream.yml # this file

jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        ruby-version: ["head", "jruby-head", "truffleruby-head"]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{matrix.ruby-version}}
          bundler-cache: true
      - run: bundle exec rake test

  upstream:
    name: "upstream (${{matrix.name}})"
    strategy:
      fail-fast: false
      matrix:
        include:
          - { name: "nokogiri", git: "https://github.com/sparklemotion/nokogiri" }
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: ruby/setup-ruby@v1
        with: { ruby-version: "3.3" }
      - run: |
          bundle add ${{matrix.name}} --git="${{matrix.git}}"
          bundle show
      - run: bundle exec rake test

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mechanize-2.12.2 .github/workflows/upstream.yml
mechanize-2.12.1 .github/workflows/upstream.yml
mechanize-2.12.0 .github/workflows/upstream.yml
mechanize-2.11.0 .github/workflows/upstream.yml
mechanize-2.10.1 .github/workflows/upstream.yml