[Workflow] Try to fix code-formatter failing to find changes in some cases.
[llvm-project.git] / .github / workflows / lld-tests.yml
blob599c0975fa68586f6ac67c706c1e32197c78999a
1 name: LLD Tests
3 permissions:
4   contents: read
6 on:
7   workflow_dispatch:
8   push:
9     branches:
10       - 'release/**'
11     paths:
12       - 'lld/**'
13       - '.github/workflows/lld-tests.yml'
14       - '.github/workflows/llvm-project-tests.yml'
15       - '!llvm/**'
16   pull_request:
17     branches:
18       - 'release/**'
19     paths:
20       - 'lld/**'
21       - '.github/workflows/lld-tests.yml'
22       - '.github/workflows/llvm-project-tests.yml'
23       - '!llvm/**'
25 concurrency:
26   # Skip intermediate builds: always.
27   # Cancel intermediate builds: only if it is a pull request build.
28   group: ${{ github.workflow }}-${{ github.ref }}
29   cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
31 jobs:
32   check_lld:
33     if: github.repository_owner == 'llvm'
34     name: Test lld
35     uses: ./.github/workflows/llvm-project-tests.yml
36     with:
37       build_target: check-lld
38       projects: lld