chore: Update AWS SDK Go dependencies #157
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: 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 |