Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.164.1 to 1.170.0 #255
Workflow file for this run
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: 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 |