Merge pull request #1397 from gofiber/dependabot/go_modules/dynamodb/β¦ #17
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
on: | |
push: | |
branches: | |
- master | |
- main | |
paths: | |
- 'dynamodb/**' | |
pull_request: | |
paths: | |
- 'dynamodb/**' | |
name: "Tests DynamoDB" | |
jobs: | |
Tests: | |
runs-on: ubuntu-latest | |
services: | |
mongo: | |
image: 'amazon/dynamodb-local:latest' | |
ports: | |
- '8000:8000' | |
strategy: | |
matrix: | |
go-version: | |
- 1.19.x | |
- 1.20.x | |
- 1.21.x | |
steps: | |
- name: Fetch Repository | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '${{ matrix.go-version }}' | |
- name: Run Test | |
run: cd ./dynamodb && go test ./... -v -race |