Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/config/rubocop_linter_action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rubocop_fail_level: "fatal"

versions:
- rubocop
- rubocop-rspec
15 changes: 15 additions & 0 deletions .github/workflows/rubocop_linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: RuboCop linter

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1

- name: RuboCop linter
uses: andrewmcodes/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[![Build Status](https://github.com/SciRuby/ruby-sparse/workflows/Ruby-Sparse%20test/badge.svg?branch=master)](https://github.com/SciRuby/ruby-sparse/actions?query=workflow%3A%22Ruby-Sparse+test%22)

[![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop-hq/rubocop)

Ruby Library for Sparse Tensors.

## Installation
Expand Down Expand Up @@ -30,4 +32,4 @@ rake pry

## LICENSE

This software is distributed under the [BSD 3-Clause License](LICENSE).
This software is distributed under the [BSD 3-Clause License](LICENSE).