.github/workflows/rake.yml in metanorma-1.4.4 vs .github/workflows/rake.yml in metanorma-1.4.5
- old
+ new
@@ -7,37 +7,9 @@
branches: [ master, main ]
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@v2
- with:
- submodules: true
-
- - uses: ruby/setup-ruby@v1
- with:
- ruby-version: ${{ matrix.ruby }}
- bundler-cache: true
-
- - 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 }}"}'
+ notify:
+ uses: metanorma/metanorma-build-scripts/.github/workflows/mn-processor-rake.yml@main
+ secrets:
+ pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}