laboratory 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '028eeacc314798c88a5a6b5b3db37754751dbe90e18907c130ff2f517685f09e'
4
- data.tar.gz: 526145857a0786d662f06b8204c6854c5618f3150286eb19e8ae1e2022e1b17e
3
+ metadata.gz: f2c796f9282f1162446569e2625bd596b0505132362949dd86cb2436db4fa760
4
+ data.tar.gz: 66289aae59ab02f88b92af86c070688e1b37f2f47044e0454f9ee00733413b9f
5
5
  SHA512:
6
- metadata.gz: 5b7942166dc0dca4cc5c900ddde6c98dc9734eb390c776e309a24598eb10b7e1f07f518d941b4b47aeea81928ffb925176bb199d804cdc5ad061661c8bb6e98f
7
- data.tar.gz: f08de0e7e5d841cb6d6be5cc3be9de9c34f9f1f85c0173e95f76a786c4a2eefebb05322b3a2e6b65a4643dd5ae9c8ff7ead830e98573f38b5edb8cafca170365
6
+ metadata.gz: 74dd54de95625344b74c61f8ade928e72f1a4642420a059cd6a75b4733e639ffa15541a73d65b87328c4e653ad1f44707e71eb1ca49d3a44dd562cd9e8fda475
7
+ data.tar.gz: f737d73fa7f214a9ce4e9a50e5d9351cc660df42ba8cc470f5c034e5bd065fe4e602fdfed6b62dbff4039e91be1932bcafe58fd4fe0ff07bef5ed208b2f19bb7
@@ -0,0 +1,24 @@
1
+ name: Linters
2
+
3
+ on: [pull_request]
4
+
5
+ jobs:
6
+ rubocop:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v1
10
+ - uses: actions/setup-ruby@v1
11
+ with:
12
+ ruby-version: '2.6.x'
13
+
14
+ - run: gem install rubocop:0.79.0 rubocop-rails:2.4.1 rubocop-rspec:1.33.0
15
+
16
+ - name: Install reviewdog
17
+ run: curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s
18
+
19
+ - name: Run RuboCop
20
+ run: |
21
+ diff_sha=$(git rev-parse "origin/${{ github.base_ref }}")
22
+ rubocop . | ./bin/reviewdog -f=rubocop -diff="git diff $diff_sha" -reporter=github-pr-check
23
+ env:
24
+ REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.github_token }}
data/.rubocop.yml ADDED
@@ -0,0 +1,11 @@
1
+ inherit_from: ./.rubocop_defaults.yml
2
+
3
+ Style/FrozenStringLiteralComment:
4
+ Enabled: false
5
+
6
+ Style/Documentation:
7
+ Enabled: false
8
+
9
+ Metrics/BlockLength:
10
+ Exclude:
11
+ - 'spec/**/*.rb'