[Do Not Merge] Github Workflow Test #2
Workflow file for this run
This file contains 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: Validate SDK Distribution | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
validate: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
# Uses version specified in .ruby_version | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Install Bundler | |
run: gem install bundler | |
- name: Install Gems | |
run: bundle install | |
- name: Run Pre-Commit Validator | |
run: | | |
# Make sure the script is executable | |
chmod +x Scripts/git/pre-commit-validator.rb | |
# Run the validation script | |
bundle exec ruby Scripts/git/pre-commit-validator.rb |