11
11
12
12
jobs :
13
13
code_formatter :
14
- runs-on : ubuntu-24.04
14
+ runs-on : ubuntu-latest
15
15
timeout-minutes : 30
16
16
concurrency :
17
17
group : ${{ github.workflow }}-${{ github.event.pull_request.number }}
18
18
cancel-in-progress : true
19
19
if : github.repository == 'llvm/clangir'
20
20
steps :
21
21
- name : Fetch LLVM sources
22
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22
+ uses : actions/checkout@v4
23
23
with :
24
24
ref : ${{ github.event.pull_request.head.sha }}
25
25
26
26
- name : Checkout through merge base
27
- uses : rmacklin/fetch-through-merge-base@bfe4d03a86f9afa52bc1a70e9814fc92a07f7b75 # v0.3.0
27
+ uses : rmacklin/fetch-through-merge-base@v0
28
28
with :
29
29
base_ref : ${{ github.event.pull_request.base.ref }}
30
30
head_ref : ${{ github.event.pull_request.head.sha }}
31
31
deepen_length : 500
32
32
33
33
- name : Get changed files
34
34
id : changed-files
35
- uses : step-security/changed-files@3dbe17c78367e7d60f00d78ae6781a35be47b4a1 # v45.0.1
35
+ uses : step-security/changed-files@3dbe17c78367e7d60f00d78ae6781a35be47b4a1
36
36
with :
37
37
separator : " ,"
38
38
skip_initial_fetch : true
39
39
40
40
# We need to pull the script from the main branch, so that we ensure
41
41
# we get the latest version of this script.
42
42
- name : Fetch code formatting utils
43
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43
+ uses : actions/checkout@v4
44
44
with :
45
45
repository : ${{ github.repository }}
46
46
ref : ${{ github.base_ref }}
@@ -58,12 +58,12 @@ jobs:
58
58
echo "$CHANGED_FILES"
59
59
60
60
- name : Install clang-format
61
- uses : aminya/setup-cpp@17c11551771948abc5752bbf3183482567c7caf0 # v1.1.1
61
+ uses : aminya/setup-cpp@v1
62
62
with :
63
63
clangformat : 19.1.6
64
64
65
65
- name : Setup Python env
66
- uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
66
+ uses : actions/setup-python@v5
67
67
with :
68
68
python-version : ' 3.11'
69
69
cache : ' pip'
0 commit comments