Skip to content

Commit

Permalink
Merge pull request #44 from flippercloud/automation
Browse files Browse the repository at this point in the history
Setup dependabot and CI
  • Loading branch information
bkeepers authored Jan 30, 2024
2 parents d5674c5 + 06080bb commit bcde7d4
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2
updates:
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 100
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 100
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 100
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test

on:
push:
branches: [main]
pull_request:

jobs:
ruby:
name: Ruby
runs-on: ubuntu-latest
env:
RAILS_ENV: test
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Setup DB
run: bin/rails db:prepare
- name: Run tests
run: bin/rails test

0 comments on commit bcde7d4

Please sign in to comment.