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 fbea6a4 commit ce8fc6b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Continuous Integration

on: [push, pull_request]

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

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

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

- name: Environment
run: printenv | sort

- name: Git Setup
run: |
git config --global init.defaultBranch main
git fetch --depth=1 origin "$GITHUB_REF_NAME"
git log --pretty=format:"%h %s" main..ci
- name: Build
run: bundle exec rake

0 comments on commit ce8fc6b

Please sign in to comment.