Skip to content

Merge pull request #17 from Safe-app-eth/dependabot/nuget/nuget/helpe… #31

Merge pull request #17 from Safe-app-eth/dependabot/nuget/nuget/helpe…

Merge pull request #17 from Safe-app-eth/dependabot/nuget/nuget/helpe… #31

Workflow file for this run

name: Sorbet
on: # yamllint disable-line rule:truthy
push:
branches:
- "main"
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
sorbet:
name: Sorbet
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ruby/setup-ruby@472790540115ce5bd69d399a020189a8c87d641f # v1.247.0
with:
bundler-cache: true
- run: bundle exec tapioca gem --verify
- run: bundle exec srb tc
- run: bundle exec spoom srb coverage
- run: |
bundle exec spoom srb bump --from=false --to=true --dry
bundle exec spoom srb bump --from=true --to=strict --dry
bundle exec spoom srb bump --from=strict --to=strong --dry
- run: bundle exec spoom srb coverage snapshot --save
- if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: spoom_data
path: ./spoom_data/
- if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: ./script/generate-coverage-report
env:
GH_TOKEN: ${{ github.token }}
- if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: spoom_report
path: ./spoom_report.html