char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Georgi Gerganovci : move most slim jobs to self-hosted runners (#23619)28123a393

char/aliceai-t5-moe
841 B36 linesraw
1name: flake8 Lint
2
3on:
4  push:
5    branches:
6      - master
7    paths: [
8      '.github/workflows/python-lint.yml',
9      '**/*.py'
10    ]
11  pull_request:
12    types: [opened, synchronize, reopened]
13    paths: [
14      '.github/workflows/python-lint.yml',
15      '**/*.py'
16    ]
17
18concurrency:
19  group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
20  cancel-in-progress: true
21
22jobs:
23  flake8-lint:
24    runs-on: [self-hosted, fast]
25    name: Lint
26    steps:
27      - name: Check out source repository
28        uses: actions/checkout@v6
29      - name: Set up Python environment
30        uses: actions/setup-python@v6
31        with:
32          python-version: "3.11"
33      - name: flake8 Lint
34        uses: py-actions/flake8@84ec6726560b6d5bd68f2a5bed83d62b52bb50ba # v2
35        with:
36            plugins: "flake8-no-print"