SUP-1602 Snyk task API migration from deprecated version to REST API version #868
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: Native-Ruby-Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
Native-Ruby-Test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Toolkit Repo | |
uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
- name: Install dependencies | |
run: bundle install | |
- name: Smoke test | |
run: ruby toolkit.rb task=help | |
- name: Run tests | |
run: bundle exec rspec --format RSpec::Github::Formatter --format documentation | |