@@ -106,45 +106,47 @@ on:
106106
107107jobs :
108108 build :
109+ permissions :
110+ checks : write
109111 runs-on : [self-hosted, "hlsl-${{ inputs.SKU }}"]
110112 steps :
111113 - name : Checkout DXC
112- uses : actions/checkout@v4
114+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
113115 with :
114116 repository : Microsoft/DirectXShaderCompiler
115117 ref : ${{ inputs.DXC-branch }}
116118 path : DXC
117119 fetch-depth : 1
118120 submodules : true
119121 - name : Checkout LLVM
120- uses : actions/checkout@v4
122+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
121123 with :
122124 repository : ${{ inputs.LLVM-fork }}/llvm-project
123125 ref : ${{ inputs.LLVM-branch }}
124126 path : llvm-project
125127 fetch-depth : 1
126128 - name : Checkout OffloadTest
127- uses : actions/checkout@v4
129+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
128130 with :
129131 repository : llvm/offload-test-suite
130132 ref : ${{ inputs.OffloadTest-branch }}
131133 path : OffloadTest
132134 fetch-depth : 1
133135 - name : Checkout Golden Images
134- uses : actions/checkout@v4
136+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
135137 with :
136138 repository : llvm/offload-golden-images
137139 ref : main
138140 path : golden-images
139141 fetch-depth : 1
140142 - name : Setup Windows x64
141143 if : inputs.OS == 'windows' && runner.arch != 'ARM64'
142- uses : llvm/actions/setup-windows@main
144+ uses : llvm/actions/setup-windows@89a8cf80982d830faab019237860b344a6390c30 # main
143145 with :
144146 arch : amd64
145147 - name : Setup Windows
146148 if : inputs.OS == 'windows' && runner.arch == 'ARM64'
147- uses : llvm/actions/setup-windows@main
149+ uses : llvm/actions/setup-windows@89a8cf80982d830faab019237860b344a6390c30 # main
148150 with :
149151 arch : arm64
150152 - name : Detect Clang
@@ -194,7 +196,7 @@ jobs:
194196 cd build
195197 ./bin/llvm-lit -v --xunit-xml-output=testresults-max-reconv.xunit.xml ${{ github.workspace }}/OffloadTest/tools/TestGenerator/reconvergence/tests
196198 - name : Publish Test Results
197- uses : EnricoMi/publish-unit-test-result-action/macos@v2
199+ uses : EnricoMi/publish-unit-test-result-action/macos@34d7c956a59aed1bfebf31df77b8de55db9bbaaf # v2.21.0
198200 if : always() && inputs.OS == 'macOS'
199201 with :
200202 check_name : " HLSL Test Results"
0 commit comments