Skip to content

Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.301.0 to 1.302.0… #33

Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.301.0 to 1.302.0…

Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.301.0 to 1.302.0… #33

Workflow file for this run

name: Build and Test
on:
pull_request:
push:
branches:
- main
jobs:
go:
name: Go checks
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: Check formatting
run: |
unformatted=$(gofmt -l .)
if [ -n "$unformatted" ]; then
echo "The following files need formatting:"
echo "$unformatted"
exit 1
fi
- name: Vet
run: go vet ./...
- name: Build
run: go build ./...
- name: Test
run: go test ./...
java:
name: Java compile
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Java
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: '21'
cache: maven
- name: Compile Java
run: mvn -B -f java/pom.xml compile