Merge pull request #135 from koedame/dependabot/bundler/rails-8.0.1 #250
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: coding-style-check | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
standardrb: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Cache Docker layers | |
uses: actions/cache@v3 | |
with: | |
path: /tmp/.buildx-cache | |
key: ${{ runner.os }}-buildx-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-buildx- | |
- name: Install dependencies | |
run: | | |
docker compose -f compose.ci.yml run --rm app bundle install --jobs=16 | |
docker compose -f compose.ci.yml run --rm app bundle clean --force | |
- name: Run standardrb | |
run: docker compose -f compose.ci.yml run --rm app bundle exec standardrb |