Update aws-sdk-iam requirement from 0.28 to 1.4 in /oktaws #341
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: Continuous Integration | |
env: | |
RUST_LOG: info | |
RUST_BACKTRACE: 1 | |
on: | |
pull_request: | |
branches: [master] | |
push: | |
branches: [master] | |
jobs: | |
verify: | |
strategy: | |
matrix: | |
include: | |
- target: x86_64-pc-windows-msvc | |
os: windows-latest | |
runnable: true | |
- target: x86_64-apple-darwin | |
os: macos-latest | |
runnable: true | |
- target: aarch64-apple-darwin | |
os: macos-latest | |
runnable: false | |
- target: x86_64-unknown-linux-gnu | |
os: ubuntu-latest | |
runnable: true | |
name: Verify (${{ matrix.target }}) | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
run: | | |
# Install the host platform toolchain | |
rustup update stable --no-self-update && rustup default stable | |
# Install target | |
rustup target add ${{ matrix.target }} | |
# Install any components | |
rustup component add clippy | |
- name: Rust Cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
cache-all-crates: true | |
key: ${{ matrix.target }} | |
- name: Clippy | |
run: cargo clippy --target=${{ matrix.target }} --all-targets --all-features --workspace --exclude=aws-config -- -D warnings | |
- name: Build | |
run: cargo build --target=${{ matrix.target }} --all-targets --all-features | |
- name: Test | |
if: matrix.runnable | |
run: cargo test --target=${{ matrix.target }} --all-targets --all-features --workspace --exclude=aws-config | |
format: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
run: | | |
# Install the host platform toolchain | |
rustup update stable --no-self-update && rustup default stable | |
# Install any components | |
rustup component add rustfmt | |
- name: Rust Cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
cache-all-crates: true | |
- name: Format | |
run: cargo fmt --all -- --check |