Skip to content

Bump serde from 1.0.214 to 1.0.215 in /autorust (#520) #1071

Bump serde from 1.0.214 to 1.0.215 in /autorust (#520)

Bump serde from 1.0.214 to 1.0.215 in /autorust (#520) #1071

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 -- --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