name: "Build and test Rust binary in release mode" on: push jobs: build: name: "Build and test" runs-on: rust-bookworm steps: - name: Check out repository code uses: actions/checkout@v4 - name: Build run: | cargo build --release - name: Test run: | cargo test