# 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-20.04 | |
steps: | |
- name: Checking out repository | |
uses: actions/checkout@v4.1.7 | |
- name: Setting up python | |
uses: actions/setup-python@v5.1.0 | |
- name: Running pre-commit | |
uses: pre-commit/action@v3.0.1 |