-
Notifications
You must be signed in to change notification settings - Fork 30
29 lines (25 loc) · 934 Bytes
/
lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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
#
# History in iree-amd-aie: copied from IREE January 2025.
# To apply fixes locally, something like the following should work
# > pip-install pre-commit
# > pre-commit run --all-files
# Fixes of tabs (replace with space) must be done manually.
name: Lint
on: [pull_request]
permissions:
contents: read
jobs:
pre-commit:
runs-on: ubuntu-24.04
steps:
- name: Checking out repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setting up python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
- name: Running pre-commit
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1