Skip to content

[feature] Improve typing for @dsl.component to support strict LSPs #2995

[feature] Improve typing for @dsl.component to support strict LSPs

[feature] Improve typing for @dsl.component to support strict LSPs #2995

Workflow file for this run

name: pre-commit
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Fetch base branch
run: git fetch origin ${{ github.base_ref || github.ref_name }}
- uses: actions/setup-python@v3
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.3
args: --new --new-from-merge-base=origin/${{ github.base_ref || github.ref_name }}
#- uses: pre-commit/[email protected]
# # This is set to only run the golangci-lint pre-commit hooks
# # Remove in a later PR to run all hooks
# with:
# go-version: '>=1.24.2'
# extra_args: golangci-lint --all-files