diff --git a/.forgejo/workflows/main.yml b/.forgejo/workflows/main.yml index 5e53888..e80da51 100644 --- a/.forgejo/workflows/main.yml +++ b/.forgejo/workflows/main.yml @@ -10,5 +10,11 @@ jobs: runs-on: ubuntu-latest # Or other appropriate runner steps: - uses: actions/checkout@v4 # Checkout the repository - - uses: dtolnay/rust-toolchain@stable - - run: cargo test --all-features \ No newline at end of file + - name: Install Rust toolchain + run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + source $HOME/.cargo/env + - name: Run cargo build + run: | + source $HOME/.cargo/env + /home/ubuntu/.cargo/bin/cargo build \ No newline at end of file