Skip to content

chore(deps): update module github.com/hashicorp/go-version to v1.9.0 #8269

chore(deps): update module github.com/hashicorp/go-version to v1.9.0

chore(deps): update module github.com/hashicorp/go-version to v1.9.0 #8269

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@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
id: changes
with:
filters: |
src:
- ${{ matrix.folder }}/**
- ".github/workflows/go-lint.yaml"
- if: steps.changes.outputs.src == 'true'
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.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@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
version: latest
working-directory: ${{ matrix.folder }}
args: --timeout=5m