chore(bindings, contracts): release contracts/v1.0.0 and `bindings/…
#83
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: Bindings | |
| on: | |
| push: | |
| branches: [main, next] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| tests: | |
| name: Bindings Tests | |
| runs-on: macos-latest | |
| env: | |
| ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }} | |
| NOWNODES_API_KEY: ${{ secrets.NOWNODES_API_KEY }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Install just | |
| uses: extractions/setup-just@v3 | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: Show Rust version | |
| run: rustc --version | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| with: | |
| version: v1.7.1 | |
| - name: Show Foundry version | |
| run: forge --version | |
| - name: Restore dependencies cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| target | |
| key: rust-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }} | |
| restore-keys: rust- | |
| - name: Run rustfmt | |
| run: just bindings-fmt-check | |
| - name: Build Bindings | |
| run: just bindings-build | |
| - name: Lint Bindings | |
| run: just bindings-lint | |
| - name: Run Tests | |
| run: just bindings-test |