Bump syn from 2.0.90 to 2.0.91 in /autorust #1112
This file contains 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 | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: vsts-api-patcher fmt | |
run: cd vsts-api-patcher && cargo fmt --check | |
- name: azure_devops_rust_api fmt | |
run: cd azure_devops_rust_api && cargo fmt --check | |
- name: codegen clippy | |
run: cd autorust && cargo clippy | |
- name: vsts-api-patcher clippy | |
run: cd vsts-api-patcher && cargo clippy | |
- name: codegen build and run autogeneration | |
run: ./build.sh | |
- name: check autogeneration matches git repo | |
run: git diff --exit-code HEAD | |
- name: cleanup code generator build artifacts | |
run: rm -rf vsts-api-patcher/target && rm -rf autorust/target | |
- name: azure_devops_rust_api clippy | |
run: cd azure_devops_rust_api && cargo clippy --all-features -- --deny warnings | |
- name: examples clippy | |
run: cd azure_devops_rust_api && cargo clippy --all-features --examples -- --deny warnings | |
- name: azure_devops_rust_api build | |
run: cd azure_devops_rust_api && cargo build --all-features | |
- name: cleanup azure_devops_rust_api build artifacts | |
run: rm -rf azure_devops_rust_api/target | |
- name: install wasm target | |
run: rustup target add wasm32-unknown-unknown | |
- name: azure_devops_rust_api check wasm build | |
run: cd azure_devops_rust_api && cargo check --target wasm32-unknown-unknown --all-features | |
- name: azure_devops_rust_api test | |
run: cd azure_devops_rust_api && cargo test | |
- name: azure_devops_rust_api documentation generation | |
run: cd azure_devops_rust_api && cargo doc --all-features --no-deps |