Skip to content

chore(deps): update dependency terragrunt to v0.48.0 - abandoned #5079

chore(deps): update dependency terragrunt to v0.48.0 - abandoned

chore(deps): update dependency terragrunt to v0.48.0 - abandoned #5079

Workflow file for this run

name: golangci-lint
on:
pull_request:
concurrency:
group: "${{ github.workflow }}/${{ github.ref }}"
cancel-in-progress: true
jobs:
golangci:
name: lint
# DO NOT PIN THIS TO A GO VERSION!
# We automatically use the go minor version in the mod file and will miss golang updates and issues relate to new go versions.
# Yes there is one linter rowserrcheck automatically turned off because of generics
# - unless we are doing DB development it does not matter, and it should be fixed soon.
runs-on: ubuntu-latest
container:
image: ghcr.io/cloudfoundry/app-autoscaler-release-tools:main
steps:
- name: Trust my checkout
run: git config --global --add safe.directory "${GITHUB_WORKSPACE}"
- uses: actions/checkout@v3
- name: get golangci-lint version
id: lint
run: |
version=$(cat src/autoscaler/go.mod | grep golangci-lint | cut -d " " -f 2 | sed -E 's/(v[0-9]+\.[0-9]+.[0-9]+).*/\1/')
echo "golangci-lint version: '${version}'"
echo "version=${version}" >> $GITHUB_OUTPUT;
- name: lint acceptance
uses: golangci/[email protected]
with:
working-directory: src/acceptance
args: --config='../../.golangci.yaml' -v --timeout='2m'
version: ${{ steps.lint.outputs.version }}
skip-cache: true
- name: lint autoscaler
uses: golangci/[email protected]
with:
working-directory: src/autoscaler
args: --config='../../.golangci.yaml' --timeout='2m'
version: ${{ steps.lint.outputs.version }}
skip-cache: true
- name: lint changelog
uses: golangci/[email protected]
with:
working-directory: src/changelog
args: --config ../../.golangci.yaml
version: ${{ steps.lint.outputs.version }}
skip-cache: true
- name: lint changeloglockcleaner
uses: golangci/[email protected]
with:
working-directory: src/changeloglockcleaner
args: --config ../../.golangci.yaml
version: ${{ steps.lint.outputs.version }}
skip-cache: true