diff --git a/.forgejo/workflows/main.yml b/.forgejo/workflows/main.yml index 571470f..e70db63 100644 --- a/.forgejo/workflows/main.yml +++ b/.forgejo/workflows/main.yml @@ -10,13 +10,7 @@ jobs: runs-on: ubuntu-latest # Or other appropriate runner steps: - uses: actions/checkout@v4 # Checkout the repository - - name: Install Rust toolchain - run: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - . "$HOME/.cargo/env" - - name: Get cargo path - run: which cargo - - name: Build - run: cargo build --verbose - - name: Run tests - run: cargo test --verbose \ No newline at end of file + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - run: cargo build --release --all-features \ No newline at end of file