diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 23cb350..896c663 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -30,6 +30,17 @@ jobs: - name: Run Clippy run: cargo clippy -- -D warnings + check: + name: Check + runs-on: docker + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Rust + uses: https://github.com/dtolnay/rust-toolchain@stable + - name: Check for Rust compilation errors + run: cargo check + build: name: Build runs-on: docker @@ -40,8 +51,6 @@ jobs: uses: actions/setup-python@v5 with: cache: pip - - name: Install pip - run: python3 -m ensurepip - name: Set up Python environment run: python3 -m pip install -r requirements.txt - name: Set up Rust