This repository has been archived by the owner on Jan 15, 2025. It is now read-only.
(maint) Update facter to 3c43f9e7e252a7f0cfa0ac8e36dc37ce04e3be48 #1240
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: Checks | |
on: | |
push: | |
branches: [7.x] | |
pull_request: | |
branches: [7.x] | |
permissions: | |
contents: read | |
jobs: | |
rake_checks: | |
name: Rake Checks | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
check: [ 'rubocop', 'commits' ] | |
steps: | |
- name: Checkout current PR | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Ruby version 2.7 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
- name: Update rubygems and install gems | |
run: | | |
gem update --system --silent --no-document | |
bundle install --jobs 4 --retry 3 | |
- run: bundle exec rake ${{ matrix.check }} |