Skip to content

Bump github.com/awslabs/aws-lambda-go-api-proxy from 0.14.0 to 0.15.0 #2983

Bump github.com/awslabs/aws-lambda-go-api-proxy from 0.14.0 to 0.15.0

Bump github.com/awslabs/aws-lambda-go-api-proxy from 0.14.0 to 0.15.0 #2983

Workflow file for this run

name: "Build"
on:
push:
branches:
- main
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref }}
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: '^1.18.0'
- run: make vendor
- run: make build
Lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref }}
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: '^1.18.0'
- run: make lint
Test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref }}
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: '^1.18.0'
- run: make test
Coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref }}
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: '^1.18.0'
- run: make coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
swagger-change:
name: Swagger Change
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: '^1.18.0'
- run: make swagger
- run: git diff --exit-code --quiet
goreleaser-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.18.0'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: check
integration-tests:
name: Integration Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: '^1.18.0'
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.8.2
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'
- run: make provider-tests
Benchmark:
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref }}
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: '^1.18.0'
- name: Run benchmark
run: make bench | tee bench-output.txt
- name: Download previous benchmark data
uses: actions/cache@v3
with:
path: ./cache
key: ${{ runner.os }}-benchmark
- name: Store benchmark result
uses: rhysd/github-action-benchmark@v1
with:
tool: 'go'
output-file-path: bench-output.txt
external-data-json-path: ./cache/benchmark-data.json
fail-on-alert: true
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-on-alert: true
alert-comment-cc-users: "@$GITHUB_ACTOR"