From 0d7deb21ed67d4e9c70e80d110fa1dbcb08250b2 Mon Sep 17 00:00:00 2001 From: Harold Sun Date: Sun, 20 Apr 2025 05:09:13 +0000 Subject: [PATCH 1/3] bump version to 0.9.1 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b22b91d..9bd2a44 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1500,7 +1500,7 @@ dependencies = [ [[package]] name = "lambda_web_adapter" -version = "0.9.0" +version = "0.9.1" dependencies = [ "aws-credential-types", "aws-sigv4", diff --git a/Cargo.toml b/Cargo.toml index d863e69..c4a5528 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lambda_web_adapter" -version = "0.9.0" +version = "0.9.1" authors = [ "Harold Sun ", "David Calavera ", From 548c723360d04c1d5b3cca437cacfe83f7f3968b Mon Sep 17 00:00:00 2001 From: Harold Sun Date: Sun, 20 Apr 2025 05:11:59 +0000 Subject: [PATCH 2/3] Upgrade github action runner to ubuntu-24.04 --- .github/workflows/pipeline.yaml | 46 ++++++++++++++++----------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index a071252..94c7721 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -46,7 +46,7 @@ env: jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout sources uses: actions/checkout@v3 @@ -76,7 +76,7 @@ jobs: build: needs: [ test ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v3 @@ -129,7 +129,7 @@ jobs: package-beta: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ build ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 @@ -219,7 +219,7 @@ jobs: deploy-beta: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ package-beta ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 @@ -282,7 +282,7 @@ jobs: e2e-test-zip: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ deploy-beta ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Install stable toolchain run: | @@ -344,7 +344,7 @@ jobs: e2e-test-oci: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ deploy-beta ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Install stable toolchain run: | @@ -408,7 +408,7 @@ jobs: load-gamma-matrix: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ e2e-test-zip, e2e-test-oci ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: @@ -419,7 +419,7 @@ jobs: load-prod-matrix: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ e2e-test-zip, e2e-test-oci ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: @@ -430,7 +430,7 @@ jobs: load-china-prod-matrix: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ e2e-test-zip, e2e-test-oci ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: @@ -441,7 +441,7 @@ jobs: load-china-gamma-matrix: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ e2e-test-zip, e2e-test-oci ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: @@ -452,7 +452,7 @@ jobs: package-gamma: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ build, load-gamma-matrix ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: ${{fromJSON(needs.load-gamma-matrix.outputs.matrix)}} steps: @@ -525,7 +525,7 @@ jobs: package-prod: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ build, load-prod-matrix ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: ${{fromJSON(needs.load-prod-matrix.outputs.matrix)}} steps: @@ -598,7 +598,7 @@ jobs: package-china-gamma: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ build, load-china-gamma-matrix ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: ${{fromJSON(needs.load-china-gamma-matrix.outputs.matrix)}} steps: @@ -674,7 +674,7 @@ jobs: package-china-prod: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ build, load-china-prod-matrix ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: ${{fromJSON(needs.load-china-prod-matrix.outputs.matrix)}} steps: @@ -749,7 +749,7 @@ jobs: load-gamma-matrix2: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ e2e-test-zip, e2e-test-oci, package-gamma ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: @@ -760,7 +760,7 @@ jobs: deploy-gamma: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ load-gamma-matrix2 ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: ${{fromJSON(needs.load-gamma-matrix2.outputs.matrix)}} steps: @@ -826,7 +826,7 @@ jobs: load-prod-matrix2: if: ${{ github.event_name == 'release' }} needs: [ deploy-gamma, package-prod ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: @@ -837,7 +837,7 @@ jobs: deploy-prod: if: ${{ github.event_name == 'release' }} needs: [ load-prod-matrix2 ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 environment: prod strategy: matrix: ${{fromJSON(needs.load-prod-matrix2.outputs.matrix)}} @@ -905,7 +905,7 @@ jobs: load-china-gamma-matrix2: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ e2e-test-zip, e2e-test-oci, package-china-gamma ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: @@ -916,7 +916,7 @@ jobs: deploy-china-gamma: if: ${{ github.ref == 'refs/heads/main' || github.event_name == 'release' }} needs: [ load-china-gamma-matrix2 ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 environment: prod strategy: matrix: ${{fromJSON(needs.load-china-gamma-matrix2.outputs.matrix)}} @@ -986,7 +986,7 @@ jobs: load-china-prod-matrix2: if: ${{ github.event_name == 'release' }} needs: [ deploy-china-gamma, package-china-prod ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: @@ -997,7 +997,7 @@ jobs: deploy-china-prod: if: ${{ github.event_name == 'release' }} needs: [ load-china-prod-matrix2 ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 environment: prod strategy: matrix: ${{fromJSON(needs.load-china-prod-matrix2.outputs.matrix)}} @@ -1067,7 +1067,7 @@ jobs: publish-to-public-ecr: if: ${{ github.event_name == 'release' }} needs: [ deploy-prod ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v3 From c6f8e42fc418b6fe2ebb35799e1a5cc4624b8682 Mon Sep 17 00:00:00 2001 From: Harold Sun Date: Sun, 20 Apr 2025 05:18:05 +0000 Subject: [PATCH 3/3] Upgrade mozilla-actions/sccache-action to 0.0.8 --- .github/workflows/pipeline.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index 94c7721..90211c4 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -60,7 +60,7 @@ jobs: run: pip3 install cargo-lambda - name: Configure cache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.8 - name: Install cargo-nextest run: cargo install cargo-nextest --locked @@ -95,7 +95,7 @@ jobs: run: pip3 install cargo-lambda - name: Configure cache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.8 - name: Install cargo-nextest run: cargo install cargo-nextest --locked @@ -292,7 +292,7 @@ jobs: run: pip3 install cargo-lambda - name: Configure cache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.8 - name: Install cargo-nextest run: cargo install cargo-nextest --locked @@ -354,7 +354,7 @@ jobs: run: pip3 install cargo-lambda - name: Configure cache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.8 - name: Install cargo-nextest run: cargo install cargo-nextest --locked