name: Rust on: push: branches: [ "main" ] pull_request: branches: [ "main" ] env: CARGO_TERM_COLOR: always jobs: build: runs-on: ubuntu-latest steps: - name: Install Objective-C Compiler run: sudo apt-get update && sudo apt-get install -y clang gcc gobjc - uses: actions/checkout@v4 - name: Build run: cargo build - name: Run tests run: cargo test