on: [push, pull_request] name: Continuous Integration jobs: main: name: Build & Test runs-on: ubuntu-latest steps: - name: Setup Rust uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: stable components: clippy - name: Check out repository code uses: actions/checkout@v3 - name: Run build uses: actions-rs/cargo@v1 with: command: build args: --release - name: Run tests uses: actions-rs/cargo@v1 with: command: test args: --all - name: Run clippy lint checks uses: actions-rs/cargo@v1 with: command: clippy args: --all - name: Upload build artifacts uses: christopherhx/gitea-upload-artifact@v4 with: path: target/release/blobfisch