[CRYSTAL-691]Restrict setting placeholders in Custom Objects V2 schema definitions #426
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: repo-checks | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby-version: | |
| - '3.2' | |
| - '3.3' | |
| - '3.4' | |
| steps: | |
| - uses: zendesk/checkout@v3 | |
| - uses: zendesk/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby-version }} | |
| bundler-cache: true | |
| - name: test | |
| run: bundle exec rake | |
| linter: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: zendesk/checkout@v3 | |
| - uses: zendesk/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: lint | |
| run: bundle exec rubocop | |
| tests_successful: | |
| name: Tests passing? | |
| needs: tests | |
| if: always() | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| steps: | |
| - run: | | |
| if ${{ needs.tests.result == 'success' }} | |
| then | |
| echo "All tests pass" | |
| else | |
| echo "Some tests failed" | |
| false | |
| fi |