name: ci on: [push, pull_request] jobs: qa: timeout-minutes: 5 runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 - name: Freeze autogenerated files run: | chmod 0444 Gemfile.lock - name: Setup Ruby uses: ruby/setup-ruby@v1 - name: Cache Ruby Dependencies uses: actions/cache@v3 with: path: vendor/bundle key: ${{ runner.os }}-gem-${{ hashFiles('.ruby-version') }}-${{ hashFiles('**/Gemfile.lock') }} - name: Setup project run: bin/setup - name: Run tests run: | bin/rspec