| # Copyright 2019 The IREE Authors |
| # Licensed under the Apache License v2.0 with LLVM Exceptions. |
| # See https://llvm.org/LICENSE.txt for license information. |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| # Keep this in sync with build_tools/scripts/lint.sh |
| - name: Checking out repository |
| uses: actions/checkout@v4.1.7 |
| - name: Setting up python |
| uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0 |
| - name: Running pre-commit |
| uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 |
| - name: Checking out repository |
| uses: actions/checkout@v4.1.7 |
| - name: Generating CMake files |
| ./build_tools/scripts/generate_cmake_files.sh |
| # Make sure to run build_tools/scripts/generate_cmake_files.sh and |
| # pick up new files that have been added. |
| git diff HEAD --exit-code |