Add sonarqube properties and workflow file #5
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: TruffleRuby Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
rspec-truffle: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_JOBS: 4 | |
BUNDLE_RETRY: 3 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v1 | |
with: | |
path: /home/runner/bundle | |
key: bundle-${{ hashFiles('**/Gemfile') }}-${{ hashFiles('**/*.gemspec') }} | |
restore-keys: | | |
bundle- | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: truffleruby-head | |
bundler: 2.2.15 | |
bundler-cache: true | |
- name: Bundle install | |
run: | | |
bundle config path /home/runner/bundle | |
bundle install | |
- name: Run RSpec | |
run: | | |
bundle exec rspec --force-color |