diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d9b4fe3..f2a97e9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,13 +6,15 @@ jobs: check: runs-on: ubuntu-latest steps: - - run: git config --global url."https://git.rcjohnstone.com/".insteadOf "ssh://connor@git.rcjohnstone.com:2222/" - - uses: actions/checkout@v4 with: - submodules: true token: ${{ secrets.GITEA }} + - name: Configure git to use HTTPS for submodules + run: | + git config --global url."https://${{ secrets.GITEA }}@git.rcjohnstone.com/".insteadOf "ssh://connor@git.rcjohnstone.com:2222/" + git submodule update --init --recursive + - uses: dtolnay/rust-toolchain@stable - run: cargo fmt --check