Refactor(lambda managed instances): rename experimental-concurrency feature -> concurrency-tokio, make run() + AWS_LAMBDA_MAX_CONCURRENCY add a warn log line rather than error out
#1230
This file contains hidden or 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: Formatting and Linting | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| fmt: | |
| name: Cargo fmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: dtolnay/rust-toolchain@nightly | |
| with: | |
| components: rustfmt | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run fmt check | |
| id: cargoFmt | |
| shell: bash | |
| run: cargo +nightly fmt --all -- --check | |
| clippy: | |
| name: Cargo clippy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run clippy check | |
| id: cargoClippy | |
| shell: bash | |
| run: cargo clippy --workspace --all-features -- -D warnings | |