File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed
Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11main_branch_name : main
2- threshold_to_run_on_all_files : 10
2+ threshold_to_run_on_all_files : 10
3+ # For ARM based processors, use linux/x86_64
4+ docker_platform : linux/amd64
Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- codeclimate_diff (0.1.9 )
4+ codeclimate_diff (0.1.10 )
55 colorize
66 json
77 optparse
Original file line number Diff line number Diff line change 55
66module CodeclimateDiff
77 class CodeclimateWrapper
8+
89 def run_codeclimate ( filename = "" )
10+ docker_platform = CodeclimateDiff . configuration [ "docker_platform" ] || "linux/amd64"
11+
912 `docker run \
1013 --interactive --tty --rm \
1114 --env CODECLIMATE_CODE="$PWD" \
1215 --volume "$PWD":/code \
1316 --volume /var/run/docker.sock:/var/run/docker.sock \
1417 --volume /tmp/cc:/tmp/cc \
18+ --platform #{ docker_platform } \
1519 codeclimate/codeclimate analyze -f json #{ filename } `
1620 end
1721
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
33module CodeclimateDiff
4- VERSION = "0.1.9 "
4+ VERSION = "0.1.10 "
55end
You can’t perform that action at this time.
0 commit comments