diff --git a/.gitignore b/.gitignore index 1313743c09..1192254f7f 100644 --- a/.gitignore +++ b/.gitignore @@ -26,5 +26,4 @@ vendor /.core-bash_history coverage/ .ruby-gemset -.ruby-version .tool-versions diff --git a/.rubocop.yml b/.rubocop.yml index 6da21a454a..c8479fc29a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -6,7 +6,6 @@ AllCops: - "*/bin/**/*" - "**/tmp/**/*" - "*/spec/fixtures/**/*" - TargetRubyVersion: 2.7 SuggestExtensions: false Gemspec/DeprecatedAttributeAssignment: Enabled: true diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000000..49cdd668e1 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.7.6 diff --git a/Dockerfile.ci b/Dockerfile.ci index c094ee0e7d..3eb3157734 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -6,6 +6,7 @@ RUN git config --global user.name dependabot-ci \ ARG CODE_DIR=/home/dependabot/dependabot-core WORKDIR ${CODE_DIR} +COPY --chown=dependabot:dependabot .ruby-version ${CODE_DIR}/.ruby-version COPY --chown=dependabot:dependabot .rubocop.yml ${CODE_DIR}/.rubocop.yml COPY --chown=dependabot:dependabot omnibus ${CODE_DIR}/omnibus COPY --chown=dependabot:dependabot git_submodules ${CODE_DIR}/git_submodules