fix: ensure update_bindings runs as amd64 #31
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: docsrs bindings | |
on: | |
pull_request: | |
paths: | |
- 'allowed-bindings.rs' | |
- 'docsrs_bindings.rs' | |
- 'Cargo.toml' | |
- 'build.rs' | |
- 'Dockerfile' | |
- '.dockerignore' | |
- 'tools/update_bindings.sh' | |
- '.github/workflows/docsrs_bindings.yml' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint-bindings: | |
name: Lint bindings | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Check docsrs_bindings.rs | |
run: tools/update_bindings.sh && git diff --exit-code docsrs_bindings.rs |