Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Actions + reg suit で snapshot key が検知できない場合 #3604

Open
YumaInaura opened this issue Apr 22, 2024 · 0 comments
Open

Comments

@YumaInaura
Copy link
Owner

YumaInaura commented Apr 22, 2024

Error

[reg-suit] warn Failed to detect the previous snapshot key
[reg-suit] info Skipped to fetch the expected data because expected key is null.

対応

checkout でfetch-depth を指定して、全てのヒストリーとコミットを参照できるようにしておけば良かったようだ
もしくは適当に大きな数字を指定しても成り立つかもしれない

Number of commits to fetch.
0 indicates all history for all branches and tags.

https://github.com/actions/checkout

    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

参考

reg suit 公式
https://github.com/reg-viz/reg-suit#getting-started

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

https://line.me/ti/g2/eEPltQ6Tzh3pYAZV8JXKZqc7PJ6L0rpm573dcQ

プロフィール・経歴

https://github.com/YumaInaura/YumaInaura

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant