Merge pull request #3762 from pooza/dev/4.33.1 #5283
Workflow file for this run
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: test | |
on: | |
- push | |
env: | |
CI: 'true' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:14 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: test | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
redis: | |
image: redis:7 | |
ports: | |
- 6379:6379 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3.5 | |
- name: apt install | |
run: | | |
sudo apt update | |
sudo apt install ffmpeg | |
sudo apt install libpq-dev | |
sudo apt install libidn11-dev | |
- name: bundle install | |
run: | | |
gem install bundler -v '~>2.0' | |
bundle install --jobs 4 --retry 3 | |
bundle exec rake bundle:update | |
git diff | |
bundle exec rake bundle:check | |
- name: Run lint | |
run: | | |
bundle exec rake lint |