Skip to content

chore(deps): update module github.com/googlecloudplatform/cloud-foundation-toolkit/infra/blueprint-test to v0.18.0 #8532

chore(deps): update module github.com/googlecloudplatform/cloud-foundation-toolkit/infra/blueprint-test to v0.18.0

chore(deps): update module github.com/googlecloudplatform/cloud-foundation-toolkit/infra/blueprint-test to v0.18.0 #8532

Workflow file for this run

name: lint
on:
pull_request:
branches:
- main
paths:
- ".github/workflows/go-lint.yaml"
- "cli/**"
- "infra/blueprint-test/**"
- "tflint-ruleset-blueprint/**"
- 'infra/module-swapper/**'
permissions:
contents: read
concurrency:
group: '$${{ github.workflow }}-$${{ github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
folder: [cli, infra/blueprint-test, tflint-ruleset-blueprint]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: dorny/paths-filter@7b450fff21473bca461d4b92ce414b9d0420d706 # v4.0.2
id: changes
with:
filters: |
src:
- ${{ matrix.folder }}/**
- ".github/workflows/go-lint.yaml"
- if: steps.changes.outputs.src == 'true'
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version-file: ${{ matrix.folder }}/go.mod
cache-dependency-path: ${{ matrix.folder }}/go.sum
- if: steps.changes.outputs.src == 'true'
name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: latest
working-directory: ${{ matrix.folder }}
args: --timeout=5m