r/aws_elasticache_cluster: fix transit_encryption_enabled for redis #12720
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: golangci-lint Checks | |
on: | |
push: | |
branches: | |
- main | |
- 'release/**' | |
pull_request: | |
paths: | |
- .github/workflows/golangci-lint.yml | |
- .ci/.golangci*.yml | |
- .ci/tools/** | |
- internal/** | |
- go.sum | |
- main.go | |
- names/** | |
- tools/** | |
jobs: | |
golangci-linta: | |
name: 1 of 2 | |
runs-on: [custom, linux, large] | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | |
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version-file: go.mod | |
cache: false | |
- id: golangci-lint-version | |
working-directory: .ci/tools | |
run: >- | |
echo "version=$( | |
go list -m all | | |
grep github.com/golangci/golangci-lint | | |
awk '{print $2}' | |
)" >> $GITHUB_OUTPUT | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0 | |
with: | |
version: "${{ steps.golangci-lint-version.outputs.version }}" | |
args: --config .ci/.golangci.yml | |
golangci-lintb: | |
name: 2 of 2 | |
needs: [golangci-linta] | |
runs-on: [custom, linux, xl] | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | |
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version-file: go.mod | |
cache: false | |
- id: golangci-lint-version | |
working-directory: .ci/tools | |
run: >- | |
echo "version=$( | |
go list -m all | | |
grep github.com/golangci/golangci-lint | | |
awk '{print $2}' | |
)" >> $GITHUB_OUTPUT | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0 | |
with: | |
version: "${{ steps.golangci-lint-version.outputs.version }}" | |
args: --config .ci/.golangci2.yml | |
env: | |
# Trigger garbage collection more frequently to reduce the likelihood | |
# of OOM errors. | |
# ref: https://golangci-lint.run/usage/performance/#memory-usage | |
GOGC: "50" |