Skip to content

Merge pull request #135 from koedame/dependabot/bundler/rails-8.0.1 #250

Merge pull request #135 from koedame/dependabot/bundler/rails-8.0.1

Merge pull request #135 from koedame/dependabot/bundler/rails-8.0.1 #250

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