Skip to content

Fix TypedPublicApis compatibility with new Sorbet::StrictSigil #382

Fix TypedPublicApis compatibility with new Sorbet::StrictSigil

Fix TypedPublicApis compatibility with new Sorbet::StrictSigil #382

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
call-workflow-from-shared-config:
uses: rubyatscale/shared-config/.github/workflows/ci.yml@main
secrets: inherit
verify_documentation:
runs-on: ubuntu-latest
env:
VERIFYING_DOCUMENTATION: true
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.3
- name: Verify documentation is up to date
run: |
bundle exec rake documentation_syntax_check
bundle exec rake generate_cops_documentation
notify_on_failure:
runs-on: ubuntu-latest
needs: [verify_documentation]
if: ${{ failure() && github.ref == 'refs/heads/main' }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
steps:
- uses: slackapi/[email protected]
with:
payload: |
{
"text": "${{ github.repository }}/${{ github.ref }}: FAILED\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}