Skip to content

Commit

Permalink
Ghe upgrade actions v2 to v3 (#8710)
Browse files Browse the repository at this point in the history
* Update GHE with actions v3

* Update clang-tidy-review.yml

* Update clangtidy.yml

* Update coverity2.yml

* Update pipeline.yml

* Update xrt_master_2025.1.yml

* Update xrt_master_2025.1.yml
  • Loading branch information
amd-akshatah authored Jan 22, 2025
1 parent 9f4a3ab commit 99e1891
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/clang-tidy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:

- name: Checkout XRT on pull request
if: github.event_name == 'pull_request'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Checkout XRT on dispatch
if: github.event_name == 'workflow_dispatch'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.sha }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clangtidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout XRT
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Store sha
run: echo ${{ github.sha }} > sha
- name: Compare sha
uses: actions/cache@v2
uses: actions/cache@v3
id: cache-sha
with:
path: sha
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
if: github.repository == 'Xilinx/XRT'
steps:
- name: Checkout XRT
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Store sha
run: echo ${{ github.sha }} > sha
- name: Compare sha
uses: actions/cache@v2
uses: actions/cache@v3
id: cache-sha
with:
path: sha
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverity2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.repository == 'Xilinx/XRT'
steps:
- name: Checkout XRT
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Store sha
run: echo ${{ github.sha }} > sha
- name: Compare sha
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# This step checks out PR in the github workspace. Eventhough we are not building XRT on enclave host, this step is necessary to get create_vm.sh and attach_cards.sh scripts which are included in the XRT tree
- name: Checkout PR
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Creating a VM from snapshot on enclave host
run: |
sudo .github/scripts/pipeline/create_vm.sh
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
run: sudo ~/pipeline/setup.sh

- name: Checkout PR
uses: actions/checkout@v2
uses: actions/checkout@v3

# This step builds XRT rpm/deb packages. build.sh is run with -opt option
- name: Build XRT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/xrt_master_2025.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
echo "PATH=/usr/bin:$PATH" >> $GITHUB_ENV
- name: Checkout PR
uses: actions/[email protected]
uses: actions/[email protected]
with:
fetch-depth: 0
path: ${{ github.workspace }}/${{ github.run_number }}
Expand Down

0 comments on commit 99e1891

Please sign in to comment.