Skip to content

Bump syn from 2.0.18 to 2.0.28 in /autorust #476

Bump syn from 2.0.18 to 2.0.28 in /autorust

Bump syn from 2.0.18 to 2.0.28 in /autorust #476

Workflow file for this run

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
- 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: azure_devops_rust_api test
run: cd azure_devops_rust_api && cargo test --all-features
- name: azure_devops_rust_api documentation generation
run: cd azure_devops_rust_api && cargo doc --all-features --no-deps