diff --git a/.forgejo/workflows/typos.yml b/.forgejo/workflows/typos.yml index 130f5e9..4b83592 100644 --- a/.forgejo/workflows/typos.yml +++ b/.forgejo/workflows/typos.yml @@ -15,9 +15,13 @@ jobs: git clone --depth 1 https://token:${{ secrets.ACTIONS_TOKEN }}@gugulet.hu/technical/git/g_it/site.git . cd site || true - - name: Install typos + - name: Install Rust and typos run: | - apt-get update && apt-get install -y cargo + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + source $HOME/.cargo/env cargo install typos-cli + - name: Run typos - run: typos + run: | + source $HOME/.cargo/env + typos