Skip to content

Commit

Permalink
Merge branch 'actions-upgrade'
Browse files Browse the repository at this point in the history
  • Loading branch information
MacTwister committed Dec 19, 2023
2 parents 9a038c4 + 6d519d9 commit 6cce9a1
Showing 1 changed file with 5 additions and 26 deletions.
31 changes: 5 additions & 26 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,39 +24,18 @@ 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: |
sudo apt-get update -y
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: |
Expand Down

0 comments on commit 6cce9a1

Please sign in to comment.