Skip to content

Commit

Permalink
Use consistent actions/checkout version like in other workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
wenju-he committed Nov 15, 2024
1 parent de985e9 commit 0f90116
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/actions/build-opencl-clang/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@ runs:
shell: bash
- name: Checkout LLVM
uses: actions/checkout@v3
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
repository: llvm/llvm-project
path: llvm-project
ref: ${{ inputs.ref_llvm }}

- name: Checkout SPIRV-LLVM-Translator
uses: actions/checkout@v3
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
repository: KhronosGroup/SPIRV-LLVM-Translator
path: llvm-project/SPIRV-LLVM-Translator
ref: ${{ inputs.ref_translator }}

- name: Checkout opencl-clang
uses: actions/checkout@v3
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
path: llvm-project/opencl-clang
ref: ${{ inputs.ref_opencl-clang }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
branches_json: ${{steps.release_branches.outputs.branches_json}}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: Get latest llvm_release branch
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
matrix: ${{fromJson(needs.setup.outputs.branches_json)}}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: ${{ matrix.branch }}
fetch-depth: 0
Expand Down

0 comments on commit 0f90116

Please sign in to comment.