Commit bfbf9dd
authored
ci: use sha pinning to mitigate (#50)
* ci: use sha pinning to mitigate
Lower risk about supply chain attack even though matched tag was compromised.
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
* ci: workaround bundler-cache: true installation failure
It will fix:
Installing Bundler Ruby 2.3.2 - 2.5 only works with Bundler 2.3
/opt/hostedtoolcache/Ruby/2.5.0/x64/bin/gem install bundler -v ~>
2.3.0 Successfully installed bundler-2.3.27 1 gem installed Took
14.36 seconds > bundle install Setting BUNDLER_VERSION=2.3 for
"bundle config|lock" commands below to ensure Bundler 2.3 is used
/opt/hostedtoolcache/Ruby/2.5.0/x64/bin/bundle config set --local
path
/home/runner/work/fluent-plugin-formatter-protobuf/fluent-plugin-formatter-protobuf/vendor/bundle
/opt/hostedtoolcache/Ruby/2.5.0/x64/lib/ruby/2.5.0/rubygems.rb:289:in
`find_spec_for_exe': can't find gem bundler (>= 0.a) with executable
bundle (Gem::GemNotFoundException) from
/opt/hostedtoolcache/Ruby/2.5.0/x64/lib/ruby/2.5.0/rubygems.rb:308:in
`activate_bin_path' from
/opt/hostedtoolcache/Ruby/2.5.0/x64/bin/bundle:23:in `<main>'
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
---------
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>1 parent 1c6744d commit bfbf9dd
File tree
3 files changed
+13
-11
lines changed- .github/workflows
3 files changed
+13
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | | - | |
| 41 | + | |
40 | 42 | | |
41 | | - | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
64 | | - | |
| 66 | + | |
65 | 67 | | |
66 | | - | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments