Skip to content

chore(master): release 1.0.2 #26

chore(master): release 1.0.2

chore(master): release 1.0.2 #26

Workflow file for this run

name: Go
on:
push:
branches:
- master
pull_request:
env:
# renovate: datasource=golang-version depName=golang
GO_VERSION: '1.21.1'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Setup DynamoDB Local
uses: rrainn/dynamodb-action@a839324dce7bae1fafac6a62922e37675c6caf23 # v3.0.0
with:
port: '8000'
cors: '*'
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
with:
go-version: '${{ env.GO_VERSION }}'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -cover ./...
env:
AWS_REGION: local