Skip to content

Migrate waf and wafregional service to AWS Go SDKv2 #20040

Migrate waf and wafregional service to AWS Go SDKv2

Migrate waf and wafregional service to AWS Go SDKv2 #20040

Workflow file for this run

name: ProviderLint Checks
on:
push:
branches:
- main
- 'release/**'
pull_request:
paths:
- .github/workflows/providerlint.yml
- GNUmakefile
- go.sum
- internal/**
- names/**
jobs:
providerlint:
runs-on: [custom, linux, medium]
steps:
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: go.mod
- name: go env
run: echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
continue-on-error: true
timeout-minutes: 2
with:
path: ${{ env.GOCACHE }}
key: ${{ runner.os }}-GOCACHE-${{ hashFiles('go.sum') }}-${{ hashFiles('internal/**') }}
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
continue-on-error: true
timeout-minutes: 2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
- run: cd .ci/providerlint && go install -buildvcs=false .
- run: make providerlint