Skip to content

Commit 7038ec5

Browse files
author
Pavel Chupin
authored
[CI][NFC] Uplift versions of github actions (#7038)
Required to resolve CI deprecation warnings
1 parent 6de561e commit 7038ec5

17 files changed

+26
-26
lines changed

.github/workflows/gh_pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
if: github.repository == 'intel/llvm'
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020
with:
2121
path: repo
2222
- name: Install deps

.github/workflows/issue-release-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
contains(github.event.action == 'opened' && github.event.issue.body || github.event.comment.body, '/cherry-pick')
3737
steps:
3838
- name: Fetch LLVM sources
39-
uses: actions/checkout@v2
39+
uses: actions/checkout@v3
4040
with:
4141
repository: llvm/llvm-project
4242
# GitHub stores the token used for checkout and uses it for pushes
@@ -71,7 +71,7 @@ jobs:
7171
7272
steps:
7373
- name: Fetch LLVM sources
74-
uses: actions/checkout@v2
74+
uses: actions/checkout@v3
7575
with:
7676
persist-credentials: false
7777

.github/workflows/llvm-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,14 @@ jobs:
143143
# Remove symbol versioning from dumps, so we can compare across major versions.
144144
sed -i 's/LLVM_${{ matrix.llvm_version_major }}/LLVM_NOVERSION/' ${{ matrix.ref }}.abi
145145
- name: Upload ABI file
146-
uses: actions/upload-artifact@v1
146+
uses: actions/upload-artifact@v2
147147
with:
148148
name: ${{ matrix.name }}
149149
path: ${{ matrix.ref }}.abi
150150

151151
- name: Upload symbol list file
152152
if: matrix.name == 'build-baseline'
153-
uses: actions/upload-artifact@v1
153+
uses: actions/upload-artifact@v2
154154
with:
155155
name: symbol-list
156156
path: llvm.symbols
@@ -189,7 +189,7 @@ jobs:
189189
abi-compliance-checker $EXTRA_ARGS -l libLLVM.so -old build-baseline/*.abi -new build-latest/*.abi || test "${{ needs.abi-dump-setup.outputs.ABI_HEADERS }}" = "llvm-c"
190190
- name: Upload ABI Comparison
191191
if: always()
192-
uses: actions/upload-artifact@v1
192+
uses: actions/upload-artifact@v2
193193
with:
194194
name: compat-report-${{ github.sha }}
195195
path: compat_reports/

.github/workflows/sycl_containers.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@v3
3232
with:
3333
fetch-depth: 2
3434
- name: Build and Push Container
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
steps:
4949
- name: Checkout
50-
uses: actions/checkout@v2
50+
uses: actions/checkout@v3
5151
with:
5252
fetch-depth: 2
5353
- name: Build and Push Container
@@ -70,7 +70,7 @@ jobs:
7070
needs: base_image_ubuntu2004
7171
steps:
7272
- name: Checkout
73-
uses: actions/checkout@v2
73+
uses: actions/checkout@v3
7474
with:
7575
fetch-depth: 2
7676
- name: Get dependencies configuration
@@ -108,7 +108,7 @@ jobs:
108108
needs: base_image_ubuntu2004
109109
steps:
110110
- name: Checkout
111-
uses: actions/checkout@v2
111+
uses: actions/checkout@v3
112112
with:
113113
fetch-depth: 2
114114
- name: Get dependencies configuration

.github/workflows/sycl_linux_build_and_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ jobs:
226226
sudo -E /opt/install_drivers.sh --all
227227
fi
228228
# FIXME cached_checkout fails here, but works everywhere else
229-
- uses: actions/checkout@v2
229+
- uses: actions/checkout@v3
230230
with:
231231
persist-credentials: false
232232
path: llvm
@@ -277,7 +277,7 @@ jobs:
277277
fi
278278
# FIXME cached_checkout fails here, but works everywhere else
279279
# TODO: figure out if we remove this action
280-
- uses: actions/checkout@v2
280+
- uses: actions/checkout@v3
281281
with:
282282
path: llvm
283283
# TODO should this action be packed into container as well?

.github/workflows/sycl_nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
needs: ubuntu2004_build_test
4949
steps:
50-
- uses: actions/checkout@v2
50+
- uses: actions/checkout@v3
5151
- uses: actions/download-artifact@v2
5252
with:
5353
name: sycl_linux_default

.github/workflows/sycl_post_commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: ubuntu-20.04
4545
if: github.repository == 'intel/llvm'
4646
steps:
47-
- uses: actions/checkout@v2
47+
- uses: actions/checkout@v3
4848
with:
4949
path: src
5050
- name: Install Ubuntu deps
@@ -104,7 +104,7 @@ jobs:
104104
- name: Pack
105105
run: tar -czvf llvm_sycl.tar.gz -C $GITHUB_WORKSPACE/build/install .
106106
- name: Upload artifacts
107-
uses: actions/upload-artifact@v1
107+
uses: actions/upload-artifact@v2
108108
with:
109109
name: sycl_linux_${{ matrix.config }}
110110
path: llvm_sycl.tar.gz

.github/workflows/sycl_precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
steps:
3030
- name: 'PR commits + 1'
3131
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
32-
- uses: actions/checkout@v2
32+
- uses: actions/checkout@v3
3333
with:
3434
ref: ${{ github.event.pull_request.head.sha }}
3535
persist-credentials: false

.github/workflows/sycl_update_gpu_driver.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
if: github.repository == 'intel/llvm'
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414
- name: Update dependencies file
1515
run: |
1616
version="$(python3 devops/scripts/update_drivers.py linux)"

.github/workflows/sycl_windows_build_and_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
git config --global core.autocrlf false
2424
echo "C:\Program Files\Git\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
2525
echo "SCCACHE_DIR=D:\github\_work\cache\${{ inputs.build_cache_suffix }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v3
2727
with:
2828
path: src
2929
fetch-depth: 1

.github/workflows/sync-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
if: github.repository == 'intel/llvm'
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
with:
1313
# persist-credentials: false allows us to use our own credentials for
1414
# pushing to the repository. Otherwise, the default github actions token

.github/workflows/version-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Fetch LLVM sources
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
1919
with:
2020
fetch-depth: 0
2121

devops/actions/aws-ec2/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ inputs:
6262
default: "us-east-2" # Ohio
6363

6464
runs:
65-
using: node12
65+
using: node16
6666
main: ./aws-ec2.js

devops/actions/aws-ec2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "aws-ec2",
33
"description": "Start AWS EC2 spot instances with Github actions runner agent in it",
44
"dependencies": {
5-
"@actions/core": "1.9.1",
5+
"@actions/core": "1.10.0",
66
"@actions/github": "5.0.3",
77
"aws-sdk": "2.1179.0"
88
}

devops/actions/build_container/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ runs:
2626
using: "composite"
2727
steps:
2828
- name: Login to GitHub Container Registry
29-
uses: docker/login-action@v1
29+
uses: docker/login-action@v2
3030
with:
3131
registry: ghcr.io
3232
username: ${{ inputs.username }}
3333
password: ${{ inputs.password }}
3434
- name: Build and Push Container
35-
uses: docker/build-push-action@v2
35+
uses: docker/build-push-action@v3
3636
with:
3737
push: ${{ inputs.push }}
3838
tags: ${{ inputs.tags }}

devops/actions/cached_checkout/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ runs:
3434
- name: Checkout
3535
env:
3636
GIT_ALTERNATE_OBJECT_DIRECTORIES: ${{ inputs.cache_path }}/${{ inputs.repository }}/.git/objects
37-
uses: actions/checkout@v2
37+
uses: actions/checkout@v3
3838
with:
3939
persist-credentials: false
4040
repository: ${{ inputs.repository }}

devops/actions/cleanup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 'Cleanup'
22
description: 'Cleanup work directory upon job finish'
33

44
runs:
5-
using: 'node12'
5+
using: 'node16'
66
main: 'dummy.js'
77
post: 'cleanup.js'
88

0 commit comments

Comments
 (0)