@@ -20,13 +20,13 @@ jobs:
20
20
name : Format & Lint
21
21
runs-on : ubuntu-24.04
22
22
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
25
25
with :
26
26
buildbuddy_api_key : ${{ secrets.BUILDBUDDY_API_KEY }}
27
27
bazelrc_path : .bazelrc.auth
28
28
- uses : ./.github/actions/set_tcp_keepalive_time
29
- - uses : extractions/netrc@v2
29
+ - uses : extractions/netrc@f6f1722d05ce2890aa86fd9654565b1214ac53a4 # v2
30
30
with :
31
31
machine : api.github.com
32
32
password : ${{ secrets.GITHUB_TOKEN }}
@@ -64,25 +64,25 @@ jobs:
64
64
env :
65
65
NIX_SHELL_ARGS : --arg docTools false --argstr ghcVersion ${{ matrix.ghc }}
66
66
steps :
67
- - uses : actions/checkout@v4
67
+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
68
68
- uses : ./.github/actions/free_disk_space_on_linux
69
69
- name : Mount Bazel cache
70
- uses : actions/cache@v4
70
+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
71
71
with :
72
72
path : ~/repo-cache
73
73
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
75
75
with :
76
76
nix_path : nixpkgs=./nixpkgs/default.nix
77
77
extra_nix_config : |
78
78
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
79
79
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
81
81
with :
82
82
buildbuddy_api_key : ${{ secrets.BUILDBUDDY_API_KEY }}
83
83
bazelrc_path : .bazelrc.auth
84
84
- uses : ./.github/actions/set_tcp_keepalive_time
85
- - uses : extractions/netrc@v2
85
+ - uses : extractions/netrc@f6f1722d05ce2890aa86fd9654565b1214ac53a4 # v2
86
86
with :
87
87
machine : api.github.com
88
88
password : ${{ secrets.GITHUB_TOKEN }}
@@ -101,7 +101,7 @@ jobs:
101
101
cp .bazelrc.local rules_haskell_tests
102
102
- name : Build & test - rules_haskell
103
103
if : matrix.module == 'rules_haskell'
104
- uses : tweag/run-nix-shell@v0
104
+ uses : tweag/run-nix-shell@0d73770bd05096508387d191649e5e858a3c2654 # v0.2.1
105
105
with :
106
106
options : ${{ env.NIX_SHELL_ARGS }}
107
107
run : |
@@ -110,14 +110,14 @@ jobs:
110
110
bazel build //docs:guide_html
111
111
- name : Build & test - rules_haskell_nix
112
112
if : matrix.module == 'rules_haskell_nix'
113
- uses : tweag/run-nix-shell@v0
113
+ uses : tweag/run-nix-shell@0d73770bd05096508387d191649e5e858a3c2654 # v0.2.1
114
114
with :
115
115
options : ${{ env.NIX_SHELL_ARGS }}
116
116
working-directory : rules_haskell_nix
117
117
run : bazel test //...
118
118
- name : Build & test - rules_haskell_tests
119
119
if : matrix.module == 'rules_haskell_tests'
120
- uses : tweag/run-nix-shell@v0
120
+ uses : tweag/run-nix-shell@0d73770bd05096508387d191649e5e858a3c2654 # v0.2.1
121
121
with :
122
122
options : ${{ env.NIX_SHELL_ARGS }}
123
123
working-directory : rules_haskell_tests
@@ -162,19 +162,19 @@ jobs:
162
162
GHC_VERSION : ${{ matrix.ghc }}
163
163
runs-on : ${{ matrix.os }}
164
164
steps :
165
- - uses : actions/checkout@v4
165
+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
166
166
- uses : ./.github/actions/free_disk_space_on_linux
167
167
- name : Mount Bazel cache
168
- uses : actions/cache@v4
168
+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
169
169
with :
170
170
path : ~/repo-cache
171
171
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
173
173
with :
174
174
buildbuddy_api_key : ${{ secrets.BUILDBUDDY_API_KEY }}
175
175
bazelrc_path : .bazelrc.auth
176
176
- uses : ./.github/actions/set_tcp_keepalive_time
177
- - uses : extractions/netrc@v2
177
+ - uses : extractions/netrc@f6f1722d05ce2890aa86fd9654565b1214ac53a4 # v2
178
178
with :
179
179
machine : api.github.com
180
180
password : ${{ secrets.GITHUB_TOKEN }}
@@ -244,7 +244,7 @@ jobs:
244
244
245
245
- name : Upload Logs
246
246
if : ${{ failure() && steps.collect_logs.conclusion == 'success' }}
247
- uses : actions/upload-artifact@v4
247
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
248
248
with :
249
249
name : Logs ${{ matrix.os }} ${{ matrix.module }} ${{ matrix.bzlmod }}
250
250
path : logs
@@ -267,19 +267,19 @@ jobs:
267
267
USE_BAZEL_VERSION : ${{ matrix.bazel }}
268
268
runs-on : ${{ matrix.os }}
269
269
steps :
270
- - uses : actions/checkout@v4
270
+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
271
271
- uses : ./.github/actions/free_disk_space_on_linux
272
272
- name : Mount Bazel cache
273
- uses : actions/cache@v4
273
+ uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
274
274
with :
275
275
path : ~/repo-cache
276
276
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
278
278
with :
279
279
buildbuddy_api_key : ${{ secrets.BUILDBUDDY_API_KEY }}
280
280
bazelrc_path : .bazelrc.auth
281
281
- uses : ./.github/actions/set_tcp_keepalive_time
282
- - uses : extractions/netrc@v2
282
+ - uses : extractions/netrc@f6f1722d05ce2890aa86fd9654565b1214ac53a4 # v2
283
283
with :
284
284
machine : api.github.com
285
285
password : ${{ secrets.GITHUB_TOKEN }}
0 commit comments