From f4de1326a5bca7ffb55cf2127c3119bba4e6d613 Mon Sep 17 00:00:00 2001 From: Naxdy Date: Fri, 5 Apr 2024 12:39:39 +0200 Subject: [PATCH] change(project): use https for git resolution --- .forgejo/workflows/clippy-check.yml | 4 ---- .forgejo/workflows/nightly-release.yml | 4 ---- flake.lock | 4 ++-- flake.nix | 2 +- 4 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.forgejo/workflows/clippy-check.yml b/.forgejo/workflows/clippy-check.yml index f2abfd0..394ab8a 100644 --- a/.forgejo/workflows/clippy-check.yml +++ b/.forgejo/workflows/clippy-check.yml @@ -13,10 +13,6 @@ 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: | diff --git a/.forgejo/workflows/nightly-release.yml b/.forgejo/workflows/nightly-release.yml index 85cee6f..50bb6cb 100644 --- a/.forgejo/workflows/nightly-release.yml +++ b/.forgejo/workflows/nightly-release.yml @@ -23,10 +23,6 @@ jobs: run: | attic login "${{ vars.PUBLIC_BINARY_CACHE_NAME }}" "${{ vars.BINARY_CACHE_URL }}" "${{ secrets.PUBLIC_BINARY_CACHE_AUTH_KEY }}" attic use "${{ vars.PUBLIC_BINARY_CACHE_NAME }}" - - name: Prepare SSH key - run: | - mkdir -p dist && mkdir -p ~/.ssh - ssh-keyscan git.naxdy.org >> ~/.ssh/known_hosts - uses: actions/checkout@v4 - name: Build firmware image run: | diff --git a/flake.lock b/flake.lock index b241709..516b25e 100644 --- a/flake.lock +++ b/flake.lock @@ -9,12 +9,12 @@ "rev": "2ee4657727b9679998d941de00b43e1754f570bf", "revCount": 6754, "type": "git", - "url": "ssh://gitea@git.naxdy.org/NaxdyOrg/embassy" + "url": "https://gitea@git.naxdy.org/NaxdyOrg/embassy" }, "original": { "ref": "naxgcc-fw", "type": "git", - "url": "ssh://gitea@git.naxdy.org/NaxdyOrg/embassy" + "url": "https://gitea@git.naxdy.org/NaxdyOrg/embassy" } }, "flake-utils": { diff --git a/flake.nix b/flake.nix index c42caaa..0e34735 100644 --- a/flake.nix +++ b/flake.nix @@ -9,7 +9,7 @@ flake-utils.url = "github:numtide/flake-utils"; embassy-rs-patched = { - url = "git+ssh://gitea@git.naxdy.org/NaxdyOrg/embassy?ref=naxgcc-fw"; + url = "git+https://gitea@git.naxdy.org/NaxdyOrg/embassy?ref=naxgcc-fw"; flake = false; };