Skip to content

Update Lambda runtime` #117

Update Lambda runtime`

Update Lambda runtime` #117

Workflow file for this run

name: Build
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
GOPATH: /home/runner/go
steps:
- name: Set up Node
uses: actions/setup-node@v2
id: node
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Check out code
uses: actions/checkout@v2
- name: Install
run: make install
- name: Vet
run: make vet
- name: Build
run: make build
- name: Test
run: make test
- name: Convert Go coverage
uses: jandelgado/[email protected]
- name: Publish Go code coverage
uses: romeovs/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
lcov-file: ./coverage.lcov
- name: Publish CDK code coverage
uses: romeovs/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
lcov-file: ./coverage/lcov.info
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}