blob: 2b124662fbe662dec55cf9d5b5ae89f6a055c22d [file]
# 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
name: Lint
on: [pull_request]
permissions:
contents: read
jobs:
pre-commit:
runs-on: ubuntu-24.04
steps:
- name: Checking out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Initializing llvm-project submodule
run: git submodule update --init --depth=1 third_party/llvm-project
- name: Setting up python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- name: Running pre-commit
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1