Skip to content

Bump github.com/aws/aws-sdk-go-v2/service/s3 in /go in the go group (… #460

Bump github.com/aws/aws-sdk-go-v2/service/s3 in /go in the go group (…

Bump github.com/aws/aws-sdk-go-v2/service/s3 in /go in the go group (… #460

Workflow file for this run

name: Go
on:
push:
branches:
- master
paths:
- "**.go"
- "go/go.mod"
- "go/go.sum"
- ".github/workflows/go.yml"
pull_request:
branches:
- master
paths:
- "**.go"
- "go/go.mod"
- "go/go.sum"
- ".github/workflows/go.yml"
# Cancel previous runs for PRs but not pushes to main
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./go
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
cache-dependency-path: go/go.sum
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Run tests
run: go test