Skip to content

Bump semver from 5.7.1 to 5.7.2 #86

Bump semver from 5.7.1 to 5.7.2

Bump semver from 5.7.1 to 5.7.2 #86

Workflow file for this run

name: Ruby CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up postgres
uses: harmon758/postgresql-action@v1
with:
postgresql version: "10.10"
postgresql user: test
postgresql password: test
- name: Set up Redis
uses: zhulik/redis-action@v1.0.0
with:
redis version: "5"
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "2.7.5"
bundler-cache: true
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "16"
- name: Install deps
run: sudo apt-get install -y libpq-dev
- name: Install yarn packages
run: yarn install --check-files --frozen-lockfile
- name: Setup DB
run: |
cp config/database.yml.github-ci config/database.yml
bundle exec rake db:setup
- name: Run Tests
run: bundle exec rake
dependabot-approve-and-merge:
needs: build
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: fastify/github-action-merge-dependabot@v3.6.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
target: minor