Skip to content

Commit 6282d6a

Browse files
committed
update e2e.yml
1 parent 1122c41 commit 6282d6a

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/e2e.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@ on:
44
pull_request:
55
branches: [ main ]
66
workflow_dispatch:
7-
inputs:
8-
target_repo:
9-
description: 'Target repository to test against'
10-
required: false
11-
default: 'llvm/llvm-project'
127

138
jobs:
149
e2e-test:
1510
runs-on: ubuntu-latest
1611
strategy:
1712
fail-fast: false
1813
matrix:
19-
clang_version: ['v19.1.7', 'v20.1.8', 'v21.1.2']
14+
clang_version: [16, 17, 18, 19, 20, 21]
2015

2116
name: Test clang ${{ matrix.clang_version }}
2217
steps:
@@ -33,10 +28,6 @@ jobs:
3328
python -m pip install --upgrade pip
3429
python -m pip install pre-commit
3530
36-
- name: Clone target repository
37-
run: |
38-
git clone --depth=1 https://github.com/${{ github.event.inputs.target_repo || 'llvm/llvm-project' }}.git test-repo
39-
4031
- name: Install pre-commit hooks and run
4132
run: |
4233
cd test-repo
@@ -47,6 +38,7 @@ jobs:
4738
rev: ${{ matrix.clang_version }}
4839
hooks:
4940
- id: clang-format
41+
args: [--style=LLVM, --version=${{ matrix.clang_version }}]
5042
EOF
5143
5244
pre-commit install

0 commit comments

Comments
 (0)