Skip to content

Merge pull request #5 from hexlet-boilerplates/dependabot/github_acti… #11

Merge pull request #5 from hexlet-boilerplates/dependabot/github_acti…

Merge pull request #5 from hexlet-boilerplates/dependabot/github_acti… #11

Workflow file for this run

name: CI
on:
push:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.4
- name: Install dependencies
run: make install
- name: Run Rubocop
run: make lint
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v6
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}