verification-helper icon indicating copy to clipboard operation
verification-helper copied to clipboard

Download cargo-udeps from GitHub Actions

Open qryxip opened this issue 4 years ago • 0 comments

経緯:

https://github.com/online-judge-tools/verification-helper/pull/346/files#r527949830

cargo-udeps v0.16.0をリリースしたのでoj-verify-playgroundに空コミットしたところよくないことに...

毎日実行されていたactions-rs/tool-cacheのジョブが「60日間activity無し」によって20日ほど前に停止されていて、0.15.0を明示的に指定しない限り4分近くかかるようになってしまいました (しかもこの場合1.42でcargo-udepsをビルドしようとして失敗してる)。というかactions-rs/install共々issue/prが結構放置されているような...

https://github.com/qryxip/oj-verify-playground/runs/1432309559?check_suite_focus=true

インストール方法の代替を考えると

1. `cargo install` + [actions/cache](https://github.com/actions/cache)

2. 前のようにGitHub Actionsから`.tar.gz`を`wget`して`tar xf`
   の2つですがどっちにしても設定ファイルが膨らむ気がします。1.に至っては数時間試行錯誤してますがベストな方法がわからないです。

https://github.com/online-judge-tools/verification-helper/pull/346/files#r532332335

@kmyk actions-rs/installはunmaintainedだし、結局他に良い方法が思い浮かばなかったのでGitHub Releasesからダウンロードする方法に戻していいでしょうか。

(cargo installすると4分、--debug付きでも90秒ほどかかります。)

4分どころではなかったので...

https://github.com/online-judge-tools/verification-helper/actions

qryxip avatar Dec 30 '20 09:12 qryxip