expression: return null for empty time format #1608
Workflow file for this run
This file contains hidden or 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: Bazel Lint Crossbuild | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| master: | |
| name: Bazel Lint | |
| runs-on: ${{ matrix.os }}-latest | |
| strategy: | |
| matrix: | |
| os: | |
| - macos | |
| - ubuntu | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Build Prepare | |
| uses: ./.github/actions/tidb_build | |
| with: | |
| bazelrc: ${{ secrets.BAZELRC }} | |
| gcp_sa_key: ${{ secrets.GCP_SA_KEY }} | |
| go-version: 1.25 | |
| - name: Run Bazel Lint | |
| shell: bash | |
| run: | | |
| #!/bin/bash | |
| unset CI | |
| system_name=$(uname -s) | |
| if [ "$system_name" == "Darwin" ]; then | |
| sed -i '' '/bazel-cache/d' DEPS.bzl | |
| sed -i '' '/ats.apps.svc/d' DEPS.bzl | |
| sed -i '' '/bazel-cache/d' WORKSPACE | |
| sed -i '' '/ats.apps.svc/d' WORKSPACE | |
| elif [ "$system_name" == "Linux" ]; then | |
| sed -i '/bazel-cache/d' DEPS.bzl | |
| sed -i '/ats.apps.svc/d' DEPS.bzl | |
| sed -i '/bazel-cache/d' WORKSPACE | |
| sed -i '/ats.apps.svc/d' WORKSPACE | |
| fi | |
| make bazel_lint_changed |