Skip to content

Migrate to AWS SDK Go V2 #156

Migrate to AWS SDK Go V2

Migrate to AWS SDK Go V2 #156

Workflow file for this run

name: Go
on: [push]
jobs:
test:
strategy:
matrix:
go:
- "1.20"
- "1.21"
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Build & Test
run: |
make setup_ci
make setup
make test
- name: build with version
run: |
set -x
git fetch --unshallow
make
version=$(./cmd/maprobe/maprobe version 2>&1)
if [[ $version == *HEAD* ]]; then
echo "failed to embedded version: $version"
exit 1
else
echo "$version"
fi