Skip to content

Commit d153f51

Browse files
committed
Dependabot & ruby ci
1 parent 817f978 commit d153f51

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
version: 2
3+
updates:
4+
- package-ecosystem: "bundler"
5+
directory: "/" # Location of package manifests
6+
schedule:
7+
interval: "monthly"
8+
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: "monthly"

.github/workflows/ruby.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Ruby
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
ruby-version: ['1.9', '2.0', '2.1', '2.2', '2.4', 2.5', '2.6', '2.7', '3.0', '3.1']
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Initialize CodeQL
20+
uses: github/codeql-action/init@v2
21+
with:
22+
languages: ruby
23+
- name: Set up Ruby
24+
uses: ruby/setup-ruby@v1
25+
with:
26+
ruby-version: ${{ matrix.ruby-version }}
27+
bundler-cache: true
28+
- name: Run tests
29+
run: bundle exec rake
30+
- name: Perform CodeQL Analysis
31+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)