name: Rust on: push: branches: [ "main" ] pull_request: branches: [ "main" ] jobs: build_and_test: name: Build and test runs-on: ubuntu-latest steps: - name: Check out uses: actions/checkout@v4 - name: Build run: cargo build --release --all-features - name: Test run: cargo test --release --all-features