Add Lambda layer resource policy #58
This file contains 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
name: Tests | |
on: [pull_request] | |
jobs: | |
test: | |
env: | |
GO111MODULE: on | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.22 | |
- name: Before install | |
working-directory: ./logzio-lambda-extensions-logs | |
run: | | |
go get -u | |
go mod tidy | |
go install golang.org/x/tools/cmd/cover@v0.1.0 | |
go install github.com/mattn/goveralls@latest | |
- name: Test | |
working-directory: ./logzio-lambda-extensions-logs/utils | |
run: go test -v -race -covermode=atomic -coverprofile=coverage.out |