|
51 | 51 | jobs: |
52 | 52 | check-docs-build: |
53 | 53 | name: "Test documentation build" |
54 | | - runs-on: ubuntu-latest |
| 54 | + runs-on: ubuntu-24.04 |
55 | 55 | if: github.repository == 'llvm/llvm-project' |
56 | 56 | steps: |
57 | | - # Don't fetch before checking for file changes to force the file changes |
58 | | - # action to use the Github API in pull requests. If it's a push to a |
59 | | - # branch we can't use the Github API to get the diff, so we need to have |
60 | | - # a local checkout beforehand. |
61 | | - - name: Fetch LLVM sources (Push) |
62 | | - if: ${{ github.event_name == 'push' }} |
63 | | - |
| 57 | + - name: Fetch LLVM sources |
| 58 | + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
64 | 59 | with: |
65 | 60 | fetch-depth: 2 |
66 | 61 | - name: Get subprojects that have doc changes |
67 | 62 | id: docs-changed-subprojects |
68 | | - uses: step-security/changed-files@95b56dadb92a30ca9036f16423fd3c088a71ee94 |
| 63 | + uses: step-security/changed-files@3dbe17c78367e7d60f00d78ae6781a35be47b4a1 # v45.0.1 |
69 | 64 | with: |
70 | 65 | skip_initial_fetch: true |
71 | 66 | base_sha: 'HEAD~1' |
|
99 | 94 | - 'flang/include/flang/Optimizer/Dialect/FIROps.td' |
100 | 95 | workflow: |
101 | 96 | - '.github/workflows/docs.yml' |
102 | | -<<<<<<< HEAD |
103 | | -||||||| parent of 49be891dc52b (Drop use of comprimised action) |
104 | | - - name: Fetch LLVM sources (PR) |
105 | | - if: ${{ github.event_name == 'pull_request' }} |
106 | | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
107 | | - with: |
108 | | - fetch-depth: 1 |
109 | | -======= |
110 | | - - name: Fetch LLVM sources (PR) |
111 | | - if: ${{ github.event_name == 'pull_request' }} |
112 | | - |
113 | | - with: |
114 | | - fetch-depth: 1 |
115 | | ->>>>>>> 49be891dc52b (Drop use of comprimised action) |
116 | 97 | - name: Setup Python env |
117 | | - uses: actions/setup-python@v5 |
| 98 | + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 |
118 | 99 | with: |
119 | 100 | python-version: '3.11' |
120 | 101 | cache: 'pip' |
@@ -228,7 +209,7 @@ jobs: |
228 | 209 | mkdir built-docs/flang |
229 | 210 | cp -r flang-build/docs/* built-docs/flang/ |
230 | 211 | - name: Upload docs |
231 | | - |
| 212 | + uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 |
232 | 213 | with: |
233 | 214 | name: docs-output |
234 | 215 | path: built-docs/ |
0 commit comments