diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 571effd1..7a7961a1 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -24,26 +24,7 @@ jobs: options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - - uses: actions/checkout@v2 - - - name: Show available Ruby versions - run: | - ls $RUNNER_TOOL_CACHE/Ruby - uname -a - cat /etc/os-release - - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - #with: - #bundler-cache: true - - - name: Cache gems - uses: actions/cache@v1 - with: - path: vendor/bundle - key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }} - restore-keys: | - ${{ runner.os }}-gem- + - uses: actions/checkout@v3 - name: Install required packages run: | @@ -51,12 +32,10 @@ jobs: sudo apt-get install libpq-dev sudo apt-get install g++ qt5-default libqt5webkit5-dev gstreamer1.0-plugins-base gstreamer1.0-tools gstreamer1.0-x - - name: Bundle - run: | - pwd - gem install bundler -v 2.4.20 - bundle config path vendor/bundle - bundle install --jobs 4 --retry 3 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true - name: Test run: |