Skip to content

fix(cli): Support Kotlin Build Scripts in Gradle Project and Cdktf Version Detection #3418

fix(cli): Support Kotlin Build Scripts in Gradle Project and Cdktf Version Detection

fix(cli): Support Kotlin Build Scripts in Gradle Project and Cdktf Version Detection #3418

Workflow file for this run

name: Linting
on:
merge_group:
types: [checks_requested]
pull_request: {} # All changes need linting
workflow_call:
inputs:
concurrency_group_prefix:
default: pr
required: false
type: string
concurrency:
group: ${{ inputs.concurrency_group_prefix }}-linting-${{ github.head_ref }}
cancel-in-progress: true
jobs:
prettier:
runs-on: ubuntu-latest
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: installing dependencies
run: |
yarn install --frozen-lockfile
- name: run prettier
run: |
yarn lint:prettier
lint:
runs-on: ubuntu-latest
container:
image: docker.mirror.hashicorp.services/hashicorp/jsii-terraform
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: installing dependencies
run: |
yarn install --frozen-lockfile
- name: run workspace linting
run: |
yarn lint:workspace