Skip to content

Commit

Permalink
Added GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
bkuhlmann committed Dec 20, 2023
1 parent c8fdd9d commit 8c53bf4
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Continuous Integration

on: [push, pull_request]

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: '0'
ref: ${{github.head_ref}}

- name: Ruby Setup
uses: ruby/setup-ruby@v1
with:
bundler-cache: true

- name: Git Setup
run: |
# git config --global init.defaultBranch main
printf "%s\n" "$(git config --get init.defaultBranch)"
- name: Build
run: bundle exec rake

- name: SimpleCov Report
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage

0 comments on commit 8c53bf4

Please sign in to comment.