Skip to content

Commit 35f48b2

Browse files
author
Ben Roberts
committed
moving to github actions for ci
1 parent a1e6840 commit 35f48b2

File tree

3 files changed

+41
-20
lines changed

3 files changed

+41
-20
lines changed

.github/dependabot.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "bundler"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
assignees:
8+
- "dissolve"

.github/workflows/ci.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
on: [push, pull_request]
3+
jobs:
4+
analyze:
5+
name: Analyze
6+
permissions:
7+
contents: read
8+
security-events: write
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: github/codeql-action/init@v2
13+
with:
14+
languages: ruby
15+
- uses: github/codeql-action/analyze@v2
16+
test:
17+
name: Test
18+
runs-on: ubuntu-latest
19+
env:
20+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
# See: https://github.com/actions/runner/issues/849
25+
ruby: [2.4, 2.5, 2.6, 2.7, "3.0", 3.1]
26+
steps:
27+
- uses: actions/checkout@v2
28+
- uses: ruby/setup-ruby@v1
29+
with:
30+
bundler-cache: true
31+
ruby-version: ${{ matrix.ruby }}
32+
- run: bundle exec rspec --format RSpec::Github::Formatter
33+
- uses: paambaati/[email protected]

.travis.yml

-20
This file was deleted.

0 commit comments

Comments
 (0)