File tree 2 files changed +17
-0
lines changed
.github/actions/pants-init
2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 43
43
${{ runner.os }}-pants-${{ inputs.gha-cache-key }}-${{ steps.pants-cache-commit.outputs.MERGEBASE }}
44
44
${{ runner.os }}-pants-${{ inputs.gha-cache-key }}-
45
45
46
+ - name : Tell pants to use CI config
47
+ run : |
48
+ echo "PANTS_CONFIG_FILES=pants.ci.toml" >> ${GITHUB_ENV}
49
+
46
50
- name : Bootstrap Pants
47
51
run : |
48
52
./pants --version
Original file line number Diff line number Diff line change
1
+ # This config is for CI. It extends the config in pants.toml.
2
+ # See https://www.pantsbuild.org/docs/using-pants-in-ci
3
+
4
+ [GLOBAL ]
5
+ # Colors often work in CI, but the shell is usually not a TTY so Pants
6
+ # doesn't attempt to use them by default.
7
+ colors = true
8
+
9
+ [stats ]
10
+ # "print metrics of your cache's performance at the end of the run,
11
+ # including the number of cache hits and the total time saved thanks
12
+ # to caching"
13
+ log = true
You can’t perform that action at this time.
0 commit comments