.github/workflows/rake.yml in isodoc-1.8.4 vs .github/workflows/rake.yml in isodoc-2.0.0
- old
+ new
@@ -8,36 +8,8 @@
tags: [ v* ]
pull_request:
jobs:
rake:
- name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
- runs-on: ${{ matrix.os }}
- continue-on-error: ${{ matrix.experimental }}
- strategy:
- fail-fast: false
- matrix:
- ruby: [ '3.0', '2.7', '2.6', '2.5' ]
- os: [ ubuntu-latest, windows-latest, macos-latest ]
- experimental: [ false ]
- steps:
- - uses: actions/checkout@master
-
- - uses: ruby/setup-ruby@v1
- with:
- ruby-version: ${{ matrix.ruby }}
- bundler-cache: true
-
- - uses: metanorma/metanorma-build-scripts/inkscape-setup-action@master
-
- - run: bundle exec rake
-
- tests-passed:
- needs: rake
- runs-on: ubuntu-latest
- steps:
- - uses: peter-evans/repository-dispatch@v1
- with:
- token: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
- repository: ${{ github.repository }}
- event-type: tests-passed
- client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
+ uses: metanorma/metanorma-build-scripts/.github/workflows/inkscape-rake.yml@main
+ secrets:
+ pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}