Skip to content

build(deps): bump rails from 8.0.4 to 8.1.2 #100

build(deps): bump rails from 8.0.4 to 8.1.2

build(deps): bump rails from 8.0.4 to 8.1.2 #100

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [ main ]
jobs:
scan_ruby:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Scan for common Rails security vulnerabilities using static analysis
run: bin/brakeman --no-pager -i config/brakeman.ignore
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Lint code for consistent style
run: bin/rubocop -f github
# TODO: Re-enable when tests are added
# test:
# runs-on: ubuntu-latest
#
# services:
# postgres:
# image: postgres:16-alpine
# ports:
# - 5432:5432
# env:
# POSTGRES_USER: postgres
# POSTGRES_PASSWORD: postgres
# POSTGRES_DB: reboot_test
# options: --health-cmd "pg_isready -U postgres" --health-interval 10s --health-timeout 5s --health-retries 5
#
# steps:
# - name: Install packages
# run: sudo apt-get update && sudo apt-get install --no-install-recommends -y build-essential git libyaml-dev pkg-config libpq-dev
#
# - name: Checkout code
# uses: actions/checkout@v4
#
# - name: Set up Ruby
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: .ruby-version
# bundler-cache: true
#
# - name: Run tests
# env:
# RAILS_ENV: test
# DB_HOST: localhost
# DB_USERNAME: postgres
# DB_PASSWORD: postgres
# run: bin/rails db:test:prepare test