deps: update module github.com/zclconf/go-cty to v1.15.1 (#246) #397
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: Lint | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
env: | |
GOTOOLCHAIN: local | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
- uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.62.2 # renovate: datasource=github-releases depName=golangci/golangci-lint | |
check-mod-tidy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
- run: go mod tidy | |
- run: git diff --exit-code | |
- if: failure() | |
run: echo "::error::Check failed, please run 'go mod tidy' and commit the changes." | |
check-generate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
- run: make generate | |
- run: git diff --exit-code | |
- if: failure() | |
run: echo "::error::Check failed, please run 'make generate' and commit the changes." |