@@ -20,13 +20,13 @@ jobs:
2020 name : Format & Lint
2121 runs-on : ubuntu-24.04
2222 steps :
23- - uses : actions/checkout@v4
24- - uses : tweag/configure-bazel-remote-cache-auth@v0
23+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
24+ - uses : tweag/configure-bazel-remote-cache-auth@144b0b915f13a418f5eafe2f68d19564ec136c62 # v0.1.1
2525 with :
2626 buildbuddy_api_key : ${{ secrets.BUILDBUDDY_API_KEY }}
2727 bazelrc_path : .bazelrc.auth
2828 - uses : ./.github/actions/set_tcp_keepalive_time
29- - uses : extractions/netrc@v2
29+ - uses : extractions/netrc@f6f1722d05ce2890aa86fd9654565b1214ac53a4 # v2
3030 with :
3131 machine : api.github.com
3232 password : ${{ secrets.GITHUB_TOKEN }}
@@ -64,25 +64,25 @@ jobs:
6464 env :
6565 NIX_SHELL_ARGS : --arg docTools false --argstr ghcVersion ${{ matrix.ghc }}
6666 steps :
67- - uses : actions/checkout@v4
67+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6868 - uses : ./.github/actions/free_disk_space_on_linux
6969 - name : Mount Bazel cache
70- uses : actions/cache@v4
70+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
7171 with :
7272 path : ~/repo-cache
7373 key : repo-cache-${{ runner.os }}-nixpkgs-${{ env.cache-version }}
74- - uses : cachix/install-nix-action@v31
74+ - uses : cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.5.2
7575 with :
7676 nix_path : nixpkgs=./nixpkgs/default.nix
7777 extra_nix_config : |
7878 trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
7979 extra-substituters = https://cache.iog.io
80- - uses : tweag/configure-bazel-remote-cache-auth@v0
80+ - uses : tweag/configure-bazel-remote-cache-auth@144b0b915f13a418f5eafe2f68d19564ec136c62 # v0.1.1
8181 with :
8282 buildbuddy_api_key : ${{ secrets.BUILDBUDDY_API_KEY }}
8383 bazelrc_path : .bazelrc.auth
8484 - uses : ./.github/actions/set_tcp_keepalive_time
85- - uses : extractions/netrc@v2
85+ - uses : extractions/netrc@f6f1722d05ce2890aa86fd9654565b1214ac53a4 # v2
8686 with :
8787 machine : api.github.com
8888 password : ${{ secrets.GITHUB_TOKEN }}
@@ -101,7 +101,7 @@ jobs:
101101 cp .bazelrc.local rules_haskell_tests
102102 - name : Build & test - rules_haskell
103103 if : matrix.module == 'rules_haskell'
104- uses : tweag/run-nix-shell@v0
104+ uses : tweag/run-nix-shell@0d73770bd05096508387d191649e5e858a3c2654 # v0.2.1
105105 with :
106106 options : ${{ env.NIX_SHELL_ARGS }}
107107 run : |
@@ -110,14 +110,14 @@ jobs:
110110 bazel build //docs:guide_html
111111 - name : Build & test - rules_haskell_nix
112112 if : matrix.module == 'rules_haskell_nix'
113- uses : tweag/run-nix-shell@v0
113+ uses : tweag/run-nix-shell@0d73770bd05096508387d191649e5e858a3c2654 # v0.2.1
114114 with :
115115 options : ${{ env.NIX_SHELL_ARGS }}
116116 working-directory : rules_haskell_nix
117117 run : bazel test //...
118118 - name : Build & test - rules_haskell_tests
119119 if : matrix.module == 'rules_haskell_tests'
120- uses : tweag/run-nix-shell@v0
120+ uses : tweag/run-nix-shell@0d73770bd05096508387d191649e5e858a3c2654 # v0.2.1
121121 with :
122122 options : ${{ env.NIX_SHELL_ARGS }}
123123 working-directory : rules_haskell_tests
@@ -162,19 +162,19 @@ jobs:
162162 GHC_VERSION : ${{ matrix.ghc }}
163163 runs-on : ${{ matrix.os }}
164164 steps :
165- - uses : actions/checkout@v4
165+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
166166 - uses : ./.github/actions/free_disk_space_on_linux
167167 - name : Mount Bazel cache
168- uses : actions/cache@v4
168+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
169169 with :
170170 path : ~/repo-cache
171171 key : repo-cache-${{ runner.os }}-bindist-${{ env.cache-version }}
172- - uses : tweag/configure-bazel-remote-cache-auth@v0
172+ - uses : tweag/configure-bazel-remote-cache-auth@144b0b915f13a418f5eafe2f68d19564ec136c62 # v0.1.1
173173 with :
174174 buildbuddy_api_key : ${{ secrets.BUILDBUDDY_API_KEY }}
175175 bazelrc_path : .bazelrc.auth
176176 - uses : ./.github/actions/set_tcp_keepalive_time
177- - uses : extractions/netrc@v2
177+ - uses : extractions/netrc@f6f1722d05ce2890aa86fd9654565b1214ac53a4 # v2
178178 with :
179179 machine : api.github.com
180180 password : ${{ secrets.GITHUB_TOKEN }}
@@ -244,7 +244,7 @@ jobs:
244244
245245 - name : Upload Logs
246246 if : ${{ failure() && steps.collect_logs.conclusion == 'success' }}
247- uses : actions/upload-artifact@v4
247+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
248248 with :
249249 name : Logs ${{ matrix.os }} ${{ matrix.module }} ${{ matrix.bzlmod }}
250250 path : logs
@@ -267,19 +267,19 @@ jobs:
267267 USE_BAZEL_VERSION : ${{ matrix.bazel }}
268268 runs-on : ${{ matrix.os }}
269269 steps :
270- - uses : actions/checkout@v4
270+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
271271 - uses : ./.github/actions/free_disk_space_on_linux
272272 - name : Mount Bazel cache
273- uses : actions/cache@v4
273+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
274274 with :
275275 path : ~/repo-cache
276276 key : repo-cache-${{ runner.os }}-bindist-${{ env.cache-version }}
277- - uses : tweag/configure-bazel-remote-cache-auth@v0
277+ - uses : tweag/configure-bazel-remote-cache-auth@144b0b915f13a418f5eafe2f68d19564ec136c62 # v0.1.1
278278 with :
279279 buildbuddy_api_key : ${{ secrets.BUILDBUDDY_API_KEY }}
280280 bazelrc_path : .bazelrc.auth
281281 - uses : ./.github/actions/set_tcp_keepalive_time
282- - uses : extractions/netrc@v2
282+ - uses : extractions/netrc@f6f1722d05ce2890aa86fd9654565b1214ac53a4 # v2
283283 with :
284284 machine : api.github.com
285285 password : ${{ secrets.GITHUB_TOKEN }}
0 commit comments