Skip to content

feat: Add skip_resource_in_use_check arg to aws_bedrockagent_agent #20460

feat: Add skip_resource_in_use_check arg to aws_bedrockagent_agent

feat: Add skip_resource_in_use_check arg to aws_bedrockagent_agent #20460

Workflow file for this run

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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
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@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v3.7.1
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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
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@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v3.7.1
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"