chore(deps): bump aws-sdk-sagemakerruntime from 0.34.0 to 1.13.0 #660
Workflow file for this run
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: CI/CD | |
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
- 'website/**' | |
branches: | |
- main | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- 'website/**' | |
branches: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
format_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup install stable | |
- run: rustup update | |
- run: rustup component add rustfmt | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all -- --check | |
- uses: EmbarkStudios/cargo-deny-action@v1 | |
with: | |
log-level: warn | |
command: check | |
build_and_test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-13, windows-latest] | |
rust-version: [stable] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Cache Rust Dependencies | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: ${{ matrix.os }}-cargo- | |
- name: Setup Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust-version }} | |
override: true | |
- name: Install Protobuf Compiler (Ubuntu) | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler | |
- name: Install Protobuf Compiler (macOS) | |
if: matrix.os == 'macos-13' | |
run: brew install protobuf | |
- name: Install Protobuf Compiler (Windows) | |
if: matrix.os == 'windows-latest' | |
run: choco install protoc --yes | |
- name: Build (no default-features) | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --no-default-features | |
- name: Run tests (no default-features) | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --all --no-default-features | |
- name: Build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --all-features | |
- name: Run tests | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
args: --all --all-features |