Update api.service.mustache (#16406) #7
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: Samples Rust | |
on: | |
push: | |
paths: | |
- "samples/client/others/rust/**" | |
- "samples/server/petstore/rust-server/**" | |
- "samples/client/petstore/rust-server/**" | |
pull_request: | |
paths: | |
- "samples/client/others/rust/**" | |
- "samples/client/petstore/rust/**" | |
- "samples/server/petstore/rust-server/**" | |
jobs: | |
build: | |
name: Build Rust | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sample: | |
# these folders contain sub-projects of rust clients, servers | |
- samples/client/others/rust/ | |
- samples/client/petstore/rust/ | |
- samples/server/petstore/rust-server/ | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Build | |
working-directory: ${{ matrix.sample }} | |
run: cargo build |