-
Notifications
You must be signed in to change notification settings - Fork 223
35 lines (31 loc) · 875 Bytes
/
ruff.yml
File metadata and controls
35 lines (31 loc) · 875 Bytes
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
30
31
32
33
34
35
# This file is part of BenchExec, a framework for reliable benchmarking:
# https://github.com/sosy-lab/benchexec
#
# SPDX-FileCopyrightText: 2023 Dirk Beyer <https://www.sosy-lab.org>
#
# SPDX-License-Identifier: Apache-2.0
name: Ruff
on: [push, pull_request]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: astral-sh/ruff-action@v3
with:
# keep version consistent with .gitlab-ci.yml
version: "==0.14.*"
format:
name: Code format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: astral-sh/ruff-action@v3
with:
# keep version consistent with .gitlab-ci.yml
version: "==0.14.*"
args: "format --check --diff"