diff --git a/.github/workflows/golang-bindings.yml b/.github/workflows/golang-bindings.yml new file mode 100644 index 0000000000..68aabd2a0e --- /dev/null +++ b/.github/workflows/golang-bindings.yml @@ -0,0 +1,34 @@ +name: Makefile CI + +on: + push: + branches: [ "main" ] + pull_request: + merge_group: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@1.66.0 + + - name: get TCL + run: sudo apt-get install -y tcl8.6-dev + + - name: Install Protoc + uses: arduino/setup-protoc@v2 + + - name: Install Wasmpack + uses: jetli/wasm-pack-action@v0.4.0 + with: + version: 'latest' + + - name: Build crates + run: cd crates && cargo build + + - name: Run Go bindings tests + run: cd bindings/go && go test