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 70666fe commit 16f3c7e
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:
fetch-depth: 0
ref: ${{github.head_ref}}

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

- name: Environment
run: printenv | sort

- name: Git
run: |
git fetch --depth=1 --tags
git log --pretty=format:"%h %s" origin/main..origin/ci
- name: Build
run: bundle exec rake

0 comments on commit 16f3c7e

Please sign in to comment.