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 8568236 commit 2e39d72
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 5 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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: Build
run: bundle exec rake

- name: SimpleCov Report
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ source "https://rubygems.org"

gemspec

gem "gitt", github: "bkuhlmann/gitt", branch: "patch"

group :code_quality do
gem "caliber", "~> 0.42"
gem "git-lint", "~> 6.0"
Expand Down
17 changes: 12 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
GIT
remote: https://github.com/bkuhlmann/gitt.git
revision: 329f7abe0daebb574d4e69b4a36e3e31cd522ecb
branch: patch
specs:
gitt (2.1.1)
core (~> 0.1)
dry-monads (~> 1.6)
refinements (~> 11.0)
zeitwerk (~> 2.6)

PATH
remote: .
specs:
Expand Down Expand Up @@ -86,11 +97,6 @@ GEM
spek (~> 2.0)
tone (~> 0.3)
zeitwerk (~> 2.6)
gitt (2.1.1)
core (~> 0.1)
dry-monads (~> 1.6)
refinements (~> 11.0)
zeitwerk (~> 2.6)
guard (2.18.1)
formatador (>= 0.2.4)
listen (>= 2.7, < 4.0)
Expand Down Expand Up @@ -241,6 +247,7 @@ DEPENDENCIES
caliber (~> 0.42)
debug (~> 1.8)
git-lint (~> 6.0)
gitt!
guard-rspec (~> 4.7)
rake (~> 13.0)
reek (~> 6.1)
Expand Down

0 comments on commit 2e39d72

Please sign in to comment.