This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
Bump github.com/aws/aws-sdk-go from 1.44.295 to 1.45.12 #58
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
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
name: Mod | |
jobs: | |
mod: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Read Go version | |
id: go_version | |
run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT | |
- name: Install Go (${{ steps.go_version.outputs.go_version }}) | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ steps.go_version.outputs.go_version }} | |
- name: Check go.mod | |
run: | | |
go mod tidy | |
if [ ! -z "$(git status --porcelain go.mod)" ]; then | |
printf "go.mod has modifications\n" | |
git diff go.mod | |
exit 1 | |
fi | |
if [ ! -z "$(git status --porcelain go.sum)" ]; then | |
printf "go.sum has modifications\n" | |
git diff go.sum | |
exit 1 | |
fi |