Skip to content

Commit

Permalink
Added listing via Rubocop (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell authored Feb 5, 2023
1 parent 4c8c0c9 commit a759622
Show file tree
Hide file tree
Showing 12 changed files with 535 additions and 179 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
env:
IMAGE_NAME: 'dependabot-azure-devops'
DOCKER_BUILDKIT: 1 # Enable Docker BuildKit
# $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/updater/Gemfile

steps:
- name: Checkout
Expand All @@ -49,9 +51,12 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
bundler-cache: true

- name: bundle exec rubocop
run: bundle exec rubocop
working-directory: updater

- name: bundle exec rspec spec
run: bundle exec rspec spec
working-directory: updater
Expand Down
95 changes: 31 additions & 64 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,66 +1,33 @@
*.gem
*.rbc
/.config
/coverage/
/InstalledFiles
/pkg/
/spec/reports/
/spec/examples.txt
/test/tmp/
/test/version_tmp/
/tmp/

# Used by dotenv library to load environment variables.
# .env

# Ignore Byebug command history file.
.byebug_history

## Specific to RubyMotion:
.dat*
.repl_history
build/
*.bridgesupport
build-iPhoneOS/
build-iPhoneSimulator/

## Specific to RubyMotion (use of CocoaPods):
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# vendor/Pods/

## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/

## Environment normalization:
/.bundle/
/vendor/bundle
/lib/bundler/man/

# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset

# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc

# Used by RuboCop. Remote config files pulled in from inherit_from directive.
# .rubocop-https?--*

node_modules
dist
*.log
.idea
/node_modules
/.env
/.envrc
/tmp
/pkg
/dependabot-*.gem
!bundler/spec/fixtures/projects/**/Gemfile.lock
Gemfile.lock
!updater/spec/fixtures/**/Gemfile.lock
!updater/Gemfile.lock
vendor
!bundler/spec/fixtures/vendored_gems/vendor
!common/spec/fixtures/projects/**/*/vendor
!go_modules/spec/fixtures/projects/**/*
.DS_Store

# local caching
script/tmp
*git.store
*.pyc
*git.store
/.vscode/
/.vscode-server/
/.vscode-server-insiders/
**/helpers/install-dir
/npm_and_yarn/helpers/node_modules
/npm_and_yarn/helpers/.node-version
/dry-run
**/bin/helper
/.core-bash_history
coverage/
.ruby-gemset
.tool-versions
.rspec_status
.rdbg_history
.idea
Loading

0 comments on commit a759622

Please sign in to comment.