Packwerk checks #1
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: Packwerk checks | |
on: | |
pull_request: | |
jobs: | |
packwerk_checks: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: [3.2] # Adjust the Ruby version as needed | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: actions/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Install dependencies | |
run: | | |
gem install bundler | |
bundle install --jobs 4 --retry 3 | |
- name: 📦 Packwerk checks | |
run: | | |
bin/packwerk check & bin/packwerk validate | |
wait # Wait for both processes to finish | |