Bump aws-sdk-s3 from 1.40.0 to 1.129.0 #31
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
| # Hybrid build: Cargo workspace (Rust), npm (Next.js UI), optional Lake (Lean), infra lint. | |
| # See docs/adr/0002-ci-layout.md | |
| name: CI | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| NODE_VERSION: "20" | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| rust: | |
| name: Rust (fmt, clippy, test, deny) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| shared-key: workspace | |
| - name: cargo fmt | |
| run: cargo fmt --all -- --check | |
| - name: cargo clippy | |
| run: cargo clippy --workspace --all-targets -- -D warnings | |
| - name: cargo test | |
| run: cargo test --workspace | |
| - name: Install cargo-deny | |
| uses: taiki-e/install-action@cargo-deny | |
| - name: cargo deny | |
| run: cargo deny check | |
| - name: Install cargo-audit | |
| uses: taiki-e/install-action@cargo-audit | |
| - name: cargo audit | |
| run: cargo audit | |
| node: | |
| name: Node (lint, typecheck, test) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: npm | |
| - run: npm ci | |
| - name: ESLint | |
| run: npm run lint | |
| - name: TypeScript | |
| run: npm run type-check | |
| - name: Jest | |
| run: npm test | |
| lean: | |
| name: Lean (Lake) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install elan | |
| run: curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y --default-toolchain none | |
| - name: Add elan to PATH | |
| run: echo "$HOME/.elan/bin" >> $GITHUB_PATH | |
| - name: lake build | |
| working-directory: proof/lean | |
| run: lake build | |
| infra: | |
| name: Terraform & Helm | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: hashicorp/setup-terraform@v3 | |
| with: | |
| terraform_version: "1.9.0" | |
| - name: terraform fmt & validate | |
| working-directory: terraform | |
| run: | | |
| terraform fmt -check | |
| terraform init -backend=false | |
| terraform validate | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v4 | |
| with: | |
| version: v3.14.4 | |
| - name: helm lint | |
| run: | | |
| helm lint charts/spec-to-proof | |
| helm lint charts/lean-farm | |
| docker: | |
| name: Docker (lean-farm image) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: docker/setup-buildx-action@v3 | |
| - name: Build lean-farm | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: lean-farm | |
| file: lean-farm/Dockerfile | |
| push: false | |
| load: true | |
| tags: spec-to-proof/lean-farm:ci | |
| - name: Trivy scan (informational) | |
| uses: aquasecurity/trivy-action@v0.35.0 | |
| continue-on-error: true | |
| with: | |
| image-ref: spec-to-proof/lean-farm:ci | |
| severity: CRITICAL,HIGH | |
| exit-code: "0" |