Skip to content

Commit

Permalink
moving to github actions for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Roberts committed May 17, 2022
1 parent a1e6840 commit 35f48b2
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 20 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "weekly"
assignees:
- "dissolve"
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI
on: [push, pull_request]
jobs:
analyze:
name: Analyze
permissions:
contents: read
security-events: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: github/codeql-action/init@v2
with:
languages: ruby
- uses: github/codeql-action/analyze@v2
test:
name: Test
runs-on: ubuntu-latest
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
strategy:
fail-fast: false
matrix:
# See: https://github.com/actions/runner/issues/849
ruby: [2.4, 2.5, 2.6, 2.7, "3.0", 3.1]
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- run: bundle exec rspec --format RSpec::Github::Formatter
- uses: paambaati/[email protected]
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit 35f48b2

Please sign in to comment.