Skip to content

Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.170.0 to 1.175.1 #271

Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.170.0 to 1.175.1

Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.170.0 to 1.175.1 #271

Workflow file for this run

name: goreleaser
on:
pull_request:
push:
permissions:
contents: write
jobs:
goreleaser:
env:
GORELEASER_FLAGS:
runs-on: ubuntu-latest
steps:
-
if: ${{ !startsWith(github.ref, 'refs/tags/20') }}
run: echo "GORELEASER_FLAGS=--snapshot" >> $GITHUB_ENV
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
-
name: Run tests
run: go test -race -coverprofile=coverage.txt -covermode=atomic
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean ${{ env.GORELEASER_FLAGS }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: ivoronin/ec2ssh