File tree 15 files changed +34
-34
lines changed
15 files changed +34
-34
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,20 @@ jobs:
23
23
id : extract_branch
24
24
25
25
- name : Checkout
26
- uses : actions/checkout@v2
26
+ uses : actions/checkout@v4
27
27
28
28
- name : Set up Docker Buildx
29
- uses : docker/setup-buildx-action@v1
29
+ uses : docker/setup-buildx-action@v3
30
30
31
31
- name : Log in
32
- uses : docker/login-action@v1
32
+ uses : docker/login-action@v3
33
33
with :
34
34
registry : ghcr.io
35
35
username : ${{ github.repository_owner }}
36
36
password : ${{ secrets.GITHUB_TOKEN }}
37
37
38
38
- name : Build and push
39
- uses : docker/build-push-action@v2
39
+ uses : docker/build-push-action@v6
40
40
with :
41
41
file : .github/workflows/UbuntuDockerfile
42
42
push : true
Original file line number Diff line number Diff line change 63
63
fetch-depth : 1
64
64
- name : Get subprojects that have doc changes
65
65
id : docs-changed-subprojects
66
- uses : tj-actions/changed-files@v39
66
+ uses : tj-actions/changed-files@v44
67
67
with :
68
68
files_yaml : |
69
69
llvm:
98
98
with :
99
99
fetch-depth : 1
100
100
- name : Setup Python env
101
- uses : actions/setup-python@v4
101
+ uses : actions/setup-python@v5
102
102
with :
103
103
python-version : ' 3.11'
104
104
cache : ' pip'
Original file line number Diff line number Diff line change 23
23
version : 12
24
24
25
25
steps :
26
- - uses : actions/checkout@v2
26
+ - uses : actions/checkout@v4
27
27
28
28
- if : matrix.cc == 'clang'
29
29
run : |
Original file line number Diff line number Diff line change 75
75
CC : ${{ matrix.cc }}
76
76
CXX : ${{ matrix.cxx }}
77
77
ENABLE_CLANG_TIDY : ${{ matrix.clang_tidy }}
78
- - uses : actions/upload-artifact@v3
78
+ - uses : actions/upload-artifact@v4
79
79
if : always()
80
80
with :
81
81
name : ${{ matrix.config }}-${{ matrix.cxx }}-results
@@ -124,7 +124,7 @@ jobs:
124
124
CC : ${{ matrix.cc }}
125
125
CXX : ${{ matrix.cxx }}
126
126
ENABLE_CLANG_TIDY : ${{ matrix.clang_tidy }}
127
- - uses : actions/upload-artifact@v3
127
+ - uses : actions/upload-artifact@v4
128
128
if : always() # Upload artifacts even if the build or test suite fails
129
129
with :
130
130
name : ${{ matrix.config }}-results
@@ -189,7 +189,7 @@ jobs:
189
189
CC : clang-18
190
190
CXX : clang++-18
191
191
ENABLE_CLANG_TIDY : " OFF"
192
- - uses : actions/upload-artifact@v3
192
+ - uses : actions/upload-artifact@v4
193
193
if : always()
194
194
with :
195
195
name : ${{ matrix.config }}-results
Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ jobs:
14
14
runs-on : ubuntu-latest
15
15
if : github.repository == 'llvm/llvm-project'
16
16
steps :
17
- - uses : actions/setup-node@v3
17
+ - uses : actions/setup-node@v4
18
18
with :
19
19
node-version : 18
20
20
check-latest : true
21
21
- run : npm install mailgun.js form-data
22
22
- name : Send notification
23
- uses : actions/github-script@v6
23
+ uses : actions/github-script@v7
24
24
env :
25
25
MAILGUN_API_KEY : ${{ secrets.LLVM_BUGS_KEY }}
26
26
with :
Original file line number Diff line number Diff line change 90
90
# Using this setup-python action to make 3.11 (64bit) the default
91
91
- name : Setup Python
92
92
if : ${{ matrix.os != 'self-hosted' }}
93
- uses : actions/setup-python@v4
93
+ uses : actions/setup-python@v5
94
94
with :
95
95
python-version : ${{ inputs.python_version }}
96
96
- name : Install Ninja
Original file line number Diff line number Diff line change 67
67
github.event.pull_request.draft == false &&
68
68
github.event.pull_request.commits < 10
69
69
steps :
70
- - uses : actions/labeler@v4
70
+ - uses : actions/labeler@v5
71
71
with :
72
72
configuration-path : .github/new-prs-labeler.yml
73
73
# workaround for https://github.com/actions/labeler/issues/112
Original file line number Diff line number Diff line change 26
26
27
27
- name : Get changed files
28
28
id : changed-files
29
- uses : tj-actions/changed-files@v39
29
+ uses : tj-actions/changed-files@v44
30
30
with :
31
31
separator : " ,"
32
32
skip_initial_fetch : true
56
56
clangformat : 17.0.1
57
57
58
58
- name : Setup Python env
59
- uses : actions/setup-python@v4
59
+ uses : actions/setup-python@v5
60
60
with :
61
61
python-version : ' 3.11'
62
62
cache : ' pip'
Original file line number Diff line number Diff line change 71
71
mv llvm_build.tar.gz classic-flang-llvm-project/classic-flang-llvm-project/.
72
72
73
73
- name : Upload llvm
74
- uses : actions/upload-artifact@v2
74
+ uses : actions/upload-artifact@v4
75
75
with :
76
76
name : llvm_build_${{ matrix.target }}_${{ matrix.cc }}_${{ matrix.version }}_${{ steps.extract_branch.outputs.branch }}
77
77
path : llvm_build.tar.gz
92
92
# target: AArch64
93
93
94
94
steps :
95
- - uses : actions/checkout@v3
95
+ - uses : actions/checkout@v4
96
96
97
97
- name : Setup Windows
98
98
uses : llvm/actions/setup-windows@main
@@ -124,7 +124,7 @@ jobs:
124
124
Copy-Item llvm_build.7z -Destination $pwd/classic-flang-llvm-project/
125
125
126
126
- name : Upload llvm
127
- uses : actions/upload-artifact@v3
127
+ uses : actions/upload-artifact@v4
128
128
with :
129
129
name : llvm_build_win_${{ matrix.arch }}_clangcl_${{ steps.extract_branch.outputs.branch }}
130
130
path : ${{ github.workspace }}\llvm_build.7z
Original file line number Diff line number Diff line change 45
45
46
46
steps :
47
47
- name : Checkout LLVM
48
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
48
+ uses : actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08 # v4.1.1
49
49
50
50
- name : Check Permissions
51
51
env :
91
91
- ubuntu-22.04
92
92
steps :
93
93
- name : Checkout LLVM
94
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
94
+ uses : actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08 # v4.1.1
95
95
with :
96
96
ref : ${{ needs.prepare.outputs.ref }}
97
97
@@ -133,7 +133,7 @@ jobs:
133
133
134
134
steps :
135
135
- name : Checkout LLVM
136
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
136
+ uses : actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08 # v4.1.1
137
137
with :
138
138
ref : ${{ needs.prepare.outputs.ref }}
139
139
path : ${{ needs.prepare.outputs.build-dir }}/llvm-project
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ jobs:
34
34
upload : ${{ inputs.upload && !contains(inputs.release-version, 'rc') }}
35
35
steps :
36
36
- name : Checkout LLVM
37
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
37
+ uses : actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08 # v4.1.1
38
38
39
39
- name : Setup Python env
40
- uses : actions/setup-python@v4
40
+ uses : actions/setup-python@v5
41
41
with :
42
42
cache : ' pip'
43
43
cache-dependency-path : ' ./llvm/docs/requirements.txt'
@@ -59,14 +59,14 @@ jobs:
59
59
./llvm/utils/release/build-docs.sh -release "${{ inputs.release-version }}" -no-doxygen
60
60
61
61
- name : Create Release Notes Artifact
62
- uses : actions/upload-artifact@v3
62
+ uses : actions/upload-artifact@v4
63
63
with :
64
64
name : release-notes
65
65
path : docs-build/html-export/
66
66
67
67
- name : Clone www-releases
68
68
if : env.upload
69
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
69
+ uses : actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08 # v4.1.1
70
70
with :
71
71
repository : ${{ github.repository_owner }}/www-releases
72
72
ref : main
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ jobs:
36
36
upload : ${{ inputs.upload && !contains(inputs.release-version, 'rc') }}
37
37
steps :
38
38
- name : Checkout LLVM
39
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
39
+ uses : actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08 # v4.1.1
40
40
41
41
- name : Setup Python env
42
- uses : actions/setup-python@v4
42
+ uses : actions/setup-python@v5
43
43
with :
44
44
cache : ' pip'
45
45
cache-dependency-path : ' ./llvm/docs/requirements.txt'
Original file line number Diff line number Diff line change 24
24
runs-on : ubuntu-latest
25
25
steps :
26
26
- name : Checkout LLVM
27
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
27
+ uses : actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08 # v4.1.1
28
28
with :
29
29
ref : " llvmorg-${{ inputs.release-version }}"
30
30
Original file line number Diff line number Diff line change 36
36
sudo apt-get install python3-github
37
37
38
38
- name : Checkout LLVM
39
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
39
+ uses : actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08 # v4.1.1
40
40
41
41
- name : Create Release
42
42
env :
Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ jobs:
31
31
32
32
steps :
33
33
- name : " Checkout code"
34
- uses : actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
34
+ uses : actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08 # v3.1.0
35
35
with :
36
36
persist-credentials : false
37
37
38
38
- name : " Run analysis"
39
- uses : ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2
39
+ uses : ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
40
40
with :
41
41
results_file : results.sarif
42
42
results_format : sarif
@@ -49,14 +49,14 @@ jobs:
49
49
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
50
50
# format to the repository Actions tab.
51
51
- name : " Upload artifact"
52
- uses : actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
52
+ uses : actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
53
53
with :
54
54
name : SARIF file
55
55
path : results.sarif
56
56
retention-days : 5
57
57
58
58
# Upload the results to GitHub's code scanning dashboard.
59
59
- name : " Upload to code-scanning"
60
- uses : github/codeql-action/upload-sarif@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 # v2.2.4
60
+ uses : github/codeql-action/upload-sarif@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0
61
61
with :
62
62
sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments