@@ -33,12 +33,12 @@ jobs:
3333 PACKAGE_DIR : modctl-test-package
3434 steps :
3535 - name : Checkout code
36- uses : actions/checkout@v6
36+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3737 with :
3838 submodules : recursive
3939
4040 - name : Install Go
41- uses : actions/setup-go@v6
41+ uses : actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
4242 with :
4343 go-version-file : go.mod
4444 cache-dependency-path : go.sum
4949
5050 - name : Cache Package
5151 id : cache-package
52- uses : actions/cache@v5
52+ uses : actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
5353 with :
5454 path : ${{ env.PACKAGE_DIR }}
5555 key : modctl-test-packages
7979 go build -tags "static system_libgit2 enable_libgit2"
8080
8181 - name : Upload modctl
82- uses : actions/upload-artifact@v6
82+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
8383 with :
8484 name : modctl-artifact
8585 path : modctl
@@ -90,15 +90,15 @@ jobs:
9090 runs-on : ubuntu-latest
9191 steps :
9292 - name : Cache model
93- uses : actions/cache@v5
93+ uses : actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
9494 id : cache-model
9595 with :
9696 path : ${{ env.MODEL_DIR }}
9797 key : ${{env.MODEL_DIR}}-${{ env.MODEL }}
9898
9999 - name : Set up Python
100100 if : steps.cache-model.outputs.cache-hit != 'true'
101- uses : actions/setup-python@v6
101+ uses : actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
102102 with :
103103 python-version : " 3.10"
104104
@@ -110,7 +110,7 @@ jobs:
110110 hf download ${{ env.MODEL }} --local-dir ${{ env.MODEL_DIR }}
111111
112112 - name : Upload model
113- uses : actions/upload-artifact@v6
113+ uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
114114 with :
115115 name : model-artifact
116116 path : ${{ env.MODEL_DIR }}
@@ -122,12 +122,12 @@ jobs:
122122 needs : [build-modctl, download-model]
123123 steps :
124124 - name : Download modctl artifact
125- uses : actions/download-artifact@v7
125+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
126126 with :
127127 name : modctl-artifact
128128 path : modctl
129129 - name : Download model artifact
130- uses : actions/download-artifact@v7
130+ uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
131131 with :
132132 name : model-artifact
133133 path : ${{ env.MODEL_DIR }}
0 commit comments