Skip to content

Commit 2a6a8d8

Browse files
tstellarlanza
authored andcommitted
1 parent a442924 commit 2a6a8d8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/pr-code-format.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,36 @@ on:
1111

1212
jobs:
1313
code_formatter:
14-
runs-on: ubuntu-24.04
14+
runs-on: ubuntu-latest
1515
timeout-minutes: 30
1616
concurrency:
1717
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
1818
cancel-in-progress: true
1919
if: github.repository == 'llvm/clangir'
2020
steps:
2121
- name: Fetch LLVM sources
22-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
uses: actions/checkout@v4
2323
with:
2424
ref: ${{ github.event.pull_request.head.sha }}
2525

2626
- name: Checkout through merge base
27-
uses: rmacklin/fetch-through-merge-base@bfe4d03a86f9afa52bc1a70e9814fc92a07f7b75 # v0.3.0
27+
uses: rmacklin/fetch-through-merge-base@v0
2828
with:
2929
base_ref: ${{ github.event.pull_request.base.ref }}
3030
head_ref: ${{ github.event.pull_request.head.sha }}
3131
deepen_length: 500
3232

3333
- name: Get changed files
3434
id: changed-files
35-
uses: step-security/changed-files@3dbe17c78367e7d60f00d78ae6781a35be47b4a1 # v45.0.1
35+
uses: step-security/changed-files@3dbe17c78367e7d60f00d78ae6781a35be47b4a1
3636
with:
3737
separator: ","
3838
skip_initial_fetch: true
3939

4040
# We need to pull the script from the main branch, so that we ensure
4141
# we get the latest version of this script.
4242
- name: Fetch code formatting utils
43-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43+
uses: actions/checkout@v4
4444
with:
4545
repository: ${{ github.repository }}
4646
ref: ${{ github.base_ref }}
@@ -58,12 +58,12 @@ jobs:
5858
echo "$CHANGED_FILES"
5959
6060
- name: Install clang-format
61-
uses: aminya/setup-cpp@17c11551771948abc5752bbf3183482567c7caf0 # v1.1.1
61+
uses: aminya/setup-cpp@v1
6262
with:
6363
clangformat: 19.1.6
6464

6565
- name: Setup Python env
66-
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
66+
uses: actions/setup-python@v5
6767
with:
6868
python-version: '3.11'
6969
cache: 'pip'

0 commit comments

Comments
 (0)