From 5cabeeb1097a8ffce3f1fab32c2d2b975da0e1d2 Mon Sep 17 00:00:00 2001 From: Naxdy Date: Fri, 5 Apr 2024 12:37:12 +0200 Subject: [PATCH] fix(ci): scan host key in clippy flow --- .forgejo/workflows/clippy-check.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.forgejo/workflows/clippy-check.yml b/.forgejo/workflows/clippy-check.yml index 394ab8a..f2abfd0 100644 --- a/.forgejo/workflows/clippy-check.yml +++ b/.forgejo/workflows/clippy-check.yml @@ -13,6 +13,10 @@ jobs: echo "extra-trusted-public-keys = attic:05LdE8Nav5Qd1E+KOJqSwdr+WE1z8AUmSb3oKL7s8dk=" >> /etc/nix/nix.conf nix profile install nixpkgs#nodejs "github:zhaofengli/attic?ref=6eabc3f02fae3683bffab483e614bebfcd476b21" echo "PATH=/nix/var/nix/profiles/per-user/root/profile/bin:$PATH" >> "$GITHUB_ENV" + - name: Prepare SSH key + run: | + mkdir -p dist && mkdir -p ~/.ssh + ssh-keyscan git.naxdy.org >> ~/.ssh/known_hosts - uses: actions/checkout@v4 - name: Run Clippy run: |