Skip to content

Commit

Permalink
#38 gha
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 15, 2023
1 parent 349d60a commit 03a6026
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: codecov
on:
push:
branches:
- master
jobs:
codecov:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-ruby@v1
with:
ruby-version: 2.7
- run: bundle update
- run: bundle exec rake
- uses: codecov/codecov-action@v3
with:
file: coverage/.resultset.json
fail_ci_if_error: true
15 changes: 15 additions & 0 deletions .github/workflows/pdd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: pdd
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
pdd:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: g4s8/pdd-action@master
24 changes: 24 additions & 0 deletions .github/workflows/rake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: rake
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: test
strategy:
matrix:
os: [ubuntu-20.04]
ruby: [2.6]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: bundle update
- run: bundle exec rake
17 changes: 17 additions & 0 deletions .github/workflows/xcop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: xcop
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
xcop:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: g4s8/xcop-action@master
with:
files: '**/*.xml'
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
[![Gem Version](https://badge.fury.io/rb/zache.svg)](http://badge.fury.io/rb/zache)
[![Maintainability](https://api.codeclimate.com/v1/badges/c136afe340fa94f14696/maintainability)](https://codeclimate.com/github/yegor256/zache/maintainability)
[![Yard Docs](http://img.shields.io/badge/yard-docs-blue.svg)](http://rubydoc.info/github/yegor256/zache/master/frames)

[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/zache/blob/master/LICENSE.txt)
[![Test Coverage](https://img.shields.io/codecov/c/github/yegor256/zache.svg)](https://codecov.io/github/yegor256/zache?branch=master)
[![Hits-of-Code](https://hitsofcode.com/github/yegor256/zache)](https://hitsofcode.com/view/github/yegor256/zache)
Expand Down

0 comments on commit 03a6026

Please sign in to comment.