Skip to content

ci: extract upstream pipeline, start integration testing against nokogiri main #3

ci: extract upstream pipeline, start integration testing against nokogiri main

ci: extract upstream pipeline, start integration testing against nokogiri main #3

Workflow file for this run

name: "upstream"

Check failure on line 1 in .github/workflows/upstream.yml

View workflow run for this annotation

GitHub Actions / upstream

Invalid workflow file

The workflow is not valid. .github/workflows/upstream.yml: (Line: 42, Col: 36, Idx: 916) - (Line: 42, Col: 41, Idx: 921): While scanning a plain scalar, find unexpected ':'.
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, url: https://github.com/sparklemotion/nokogiri }
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- run: |
bundle remove ${{matrix.name}} || true
bundle add ${{matrix.name}} --path="#{{matrix.url}}"
bundle install
- run: bundle exec rake test