Skip to content

Bump quinn-proto from 0.11.13 to 0.11.14 #264

Bump quinn-proto from 0.11.13 to 0.11.14

Bump quinn-proto from 0.11.13 to 0.11.14 #264

Workflow file for this run

---
name: CI
"on":
pull_request:
push:
branches: ["main"]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
defaults:
run:
shell: bash
permissions:
contents: read
# For Github OIDC integration tests:
id-token: write
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- run: rustup --version
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- run: cargo fmt --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- run: rustup --version
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Check for common mistakes with Clippy
run: cargo clippy --all-targets --all-features -- -Dclippy::all
typos:
runs-on: ubuntu-latest
steps:
- run: rustup --version
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Check source for typos and spelling issues
uses: crate-ci/typos@631208b7aac2daa8b707f55e7331f9112b0e062d # v1.44.0
cargo_audit:
runs-on: ubuntu-latest
steps:
- run: rustup --version
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install cargo-audit
run: cargo install cargo-audit
- name: Check for security advisories
run: cargo audit
test:
runs-on: ubuntu-latest
steps:
- run: rustup --version
- name: Cache Cargo registry and dependencies
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: cargo generate-lockfile
if: hashFiles('Cargo.lock') == ''
run: cargo generate-lockfile
- name: cargo test --locked
run: cargo test --locked --all-features
amplify-integration-test:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
env:
TEST_TAG: "amplifysecurity/runner:test-${{ github.sha }}"
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
- uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
with:
context: .
load: true
tags: ${{ env.TEST_TAG }}
network: host
- name: Run Amplify Security Scan (Lab)
run: |
docker run --rm \
-v $GITHUB_WORKSPACE:$GITHUB_WORKSPACE -w $GITHUB_WORKSPACE \
-v $GITHUB_EVENT_PATH:$GITHUB_EVENT_PATH \
-e AMPLIFY_ENDPOINT=https://api.lab.amplify.security \
-e RUST_BACKTRACE=full \
--env-file <(env | grep -P 'ACTIONS|GITHUB') \
${{ env.TEST_TAG }}