Skip to content

Add actions setup

Add actions setup #1

Workflow file for this run

name: ci
on:
push:
branches:
- main
- actions
pull_request:
branches:
- main
- actions
jobs:
rspec:
runs-on: ubuntu-latest
services:
mariadb:
image: mariadb:10.4
env:
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: true
ports:
- 3306:3306
env:
RAILS_ENV: test
DATABASE_URL: mysql2://[email protected]:3306/incidents_test
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: bin/setup
- run: bundle exec rspec