Add go interop with rust lib #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build interop | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/workflows/interop.yml' | |
| - 'interop/**' | |
| push: | |
| branches: | |
| - main | |
| defaults: | |
| run: | |
| working-directory: 'interop' | |
| env: | |
| # Disable incremental compilation for faster from-scratch builds | |
| CARGO_INCREMENTAL: 0 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: rustup update | |
| - run: cargo fmt --check | |
| working-directory: 'interop/multiplier-static' | |
| - run: cargo fmt --check | |
| working-directory: 'interop/multiplier-dynamic' | |
| - run: cargo clippy | |
| working-directory: 'interop/multiplier-static' | |
| - run: cargo clippy | |
| working-directory: 'interop/multiplier-dynamic' | |
| - uses: actions/setup-go@v5 | |
| - run: make all |