Skip to content

Commit

Permalink
chore: update dot files
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldtse committed Jun 13, 2024
1 parent 561cf38 commit 5a7ccd5
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 6 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/rake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
name: rake

on:
push:
branches: [ master, main ]
tags: [ v* ]
pull_request:

jobs:
rake:
uses: metanorma/ci/.github/workflows/generic-rake.yml@main
secrets:
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
name: release

on:
workflow_dispatch:
inputs:
next_version:
description: |
Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
required: true
default: 'skip'
repository_dispatch:
types: [ do-release ]

jobs:
release:
uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
with:
next_version: ${{ github.event.inputs.next_version }}
secrets:
rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
16 changes: 10 additions & 6 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
AllCops:
TargetRubyVersion: 3.0
inherit_from:
- https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml

Style/StringLiterals:
EnforcedStyle: double_quotes
# local repo-specific modifications
# ...

Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
AllCops:
TargetRubyVersion: 2.6
NewCops: enable
Exclude:
- 'lib/sts/mapper.rb'
- 'vendor/**/*'

0 comments on commit 5a7ccd5

Please sign in to comment.