build(deps): bump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.26.8 to 1.36.5 #822
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: test go | |
on: | |
pull_request: | |
merge_group: | |
schedule: | |
- cron: 0 23 * * * | |
jobs: | |
build: | |
name: building defsec | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ macos-latest, windows-latest, ubuntu-latest ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
if: matrix.os != 'windows-latest' | |
with: | |
go-version-file: go.mod | |
cache: true | |
cache-dependency-path: go.sum | |
- uses: actions/setup-go@v5 | |
if: matrix.os == 'windows-latest' | |
with: | |
go-version-file: go.mod | |
cache: false | |
- name: go mod tidy | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
go mod tidy | |
if [ -n "$(git status --porcelain)" ]; then | |
echo "Run 'go mod tidy' and push it" | |
exit 1 | |
fi | |
- name: Run non-localstack tests | |
if: matrix.os != 'ubuntu-latest' | |
run: make test-no-localstack | |
shell: bash | |
- name: Run full tests | |
if: matrix.os == 'ubuntu-latest' | |
run: make test | |
shell: bash |