Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade mac aws accounts 100 -> 1000 #31

Merged
merged 2 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
187 changes: 93 additions & 94 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# This GitHub action runs your tests for each pull request and push.
on:
push:
branches: [ main ]
branches: [main]
paths-ignore:
- 'README.md'
- '.gitignore'
- "README.md"
- ".gitignore"
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
branches: [main]
paths-ignore:
- 'README.md'
- '.gitignore'
- "README.md"
- ".gitignore"

env:
RUST_BACKTRACE: 1
Expand All @@ -20,7 +20,6 @@ env:
name: build

jobs:

build:
permissions:
contents: none
Expand All @@ -40,115 +39,115 @@ jobs:
continue-on-error: ${{ matrix.rust != 'stable' }}
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v2
- name: build
run: cargo test --no-run --workspace --all-features
- name: default features
run: cargo test --workspace
- name: all features
run: cargo test --workspace --all-features
- name: no-default features
run: cargo test --workspace --no-default-features
- name: checkout repository
uses: actions/checkout@v3
- name: install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v2
- name: build
run: cargo test --no-run --workspace --all-features
- name: default features
run: cargo test --workspace
- name: all features
run: cargo test --workspace --all-features
- name: no-default features
run: cargo test --workspace --no-default-features

msrv:
name: "check MSRV: 1.72.1"
name: "check MSRV: 1.77.1"
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.72.1 # MSRV
- uses: Swatinem/rust-cache@v2
- name: default features
run: cargo check --workspace --all-targets
- name: all features
run: cargo check --workspace --all-targets --all-features
- name: No-default features
run: cargo check --workspace --all-targets --no-default-features
- name: checkout repository
uses: actions/checkout@v3
- name: install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.77.1 # MSRV
- uses: Swatinem/rust-cache@v2
- name: default features
run: cargo check --workspace --all-targets
- name: all features
run: cargo check --workspace --all-targets --all-features
- name: No-default features
run: cargo check --workspace --all-targets --no-default-features

lockfile:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: "Is lockfile updated?"
run: cargo fetch --locked
- name: checkout repository
uses: actions/checkout@v3
- name: install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: "Is lockfile updated?"
run: cargo fetch --locked

docs:
name: docs
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: check documentation
env:
RUSTDOCFLAGS: -D warnings
run: cargo doc --workspace --all-features --no-deps --document-private-items
- name: checkout repository
uses: actions/checkout@v3
- name: install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: check documentation
env:
RUSTDOCFLAGS: -D warnings
run: cargo doc --workspace --all-features --no-deps --document-private-items

rustfmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: install Rust
uses: dtolnay/rust-toolchain@stable
with:
# Not MSRV because its harder to jump between versions and people are
# more likely to have stable
toolchain: stable
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: check formatting
run: cargo fmt --all -- --check
- name: checkout repository
uses: actions/checkout@v3
- name: install Rust
uses: dtolnay/rust-toolchain@stable
with:
# Not MSRV because its harder to jump between versions and people are
# more likely to have stable
toolchain: stable
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: check formatting
run: cargo fmt --all -- --check

clippy:
name: clippy
runs-on: ubuntu-latest
permissions:
security-events: write # to upload sarif results
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.74.0 # MSRV
components: clippy
- uses: Swatinem/rust-cache@v2
- name: install SARIF tools
run: cargo install clippy-sarif
- name: install SARIF tools
run: cargo install sarif-fmt
- name: check
run: >
cargo clippy --workspace --all-features --all-targets --message-format=json -- -D warnings --allow deprecated
| clippy-sarif
| tee clippy-results.sarif
| sarif-fmt
continue-on-error: true
- name: upload
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: clippy-results.sarif
wait-for-processing: true
- name: report status
run: cargo clippy --workspace --all-features --all-targets -- -D warnings --allow deprecated
- name: checkout repository
uses: actions/checkout@v3
- name: install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.74.0 # MSRV
components: clippy
- uses: Swatinem/rust-cache@v2
- name: install SARIF tools
run: cargo install clippy-sarif
- name: install SARIF tools
run: cargo install sarif-fmt
- name: check
run: >
cargo clippy --workspace --all-features --all-targets --message-format=json -- -D warnings --allow deprecated
| clippy-sarif
| tee clippy-results.sarif
| sarif-fmt
continue-on-error: true
- name: upload
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: clippy-results.sarif
wait-for-processing: true
- name: report status
run: cargo clippy --workspace --all-features --all-targets -- -D warnings --allow deprecated
1 change: 1 addition & 0 deletions src/aws/iam.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ impl IamService {
.client
.get_group()
.group_name(iam_group.to_string())
.max_items(1000)
benjaminch marked this conversation as resolved.
Show resolved Hide resolved
.send()
.await
{
Expand Down
Loading