Bump github.com/aws/aws-sdk-go from 1.44.21 to 1.54.16 in /hack/runner/webhook #1114
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: Check - lint | |
on: | |
pull_request: | |
types: | |
- assigned | |
- opened | |
- synchronize | |
- reopened | |
paths: | |
- "**.go" | |
- "**/go.mod" | |
- "hack/check-lint.sh" | |
- ".golangci.yaml" | |
jobs: | |
checklint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v1 | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.17" | |
id: go | |
- name: Get Date | |
id: get-date | |
shell: bash | |
run: | | |
echo "::set-output name=date::$(date -u "+%Y-%m")" | |
- name: Restore Lint Cache | |
uses: actions/cache@v3 | |
timeout-minutes: 10 | |
continue-on-error: true | |
with: | |
path: ${{ runner.temp }}/lint_cache | |
key: ${{ runner.os }}-lint-cache-${{ steps.get-date.outputs.date }} | |
restore-keys: | | |
${{ runner.os }}-lint-cache- | |
- name: Run golangci-lint | |
env: | |
GOLANGCI_LINT_CACHE: ${{ runner.temp }}/lint_cache | |
run: | | |
make lint |