Skip to content

Commit 8deb784

Browse files
authored
Merge pull request #2324 from tweag/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2 parents af0abf3 + b3b34ea commit 8deb784

File tree

6 files changed

+29
-38
lines changed

6 files changed

+29
-38
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/patch-test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
outputs:
1818
ghc-matrix: ${{ steps.set-ghc-versions.outputs.ghc-matrix }}
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121
- id: set-ghc-versions
2222
name: Extract from gen_ghc_bindist
2323
run: python .github/extract_from_ghc_bindist.py
@@ -34,9 +34,9 @@ jobs:
3434
ghc-version: ${{ fromJSON(needs.find-ghc-version.outputs.ghc-matrix) }}
3535
runs-on: ${{ matrix.os }}
3636
steps:
37-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3838
- name: Mount Bazel cache
39-
uses: actions/cache@v4
39+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
4040
with:
4141
path: ~/repo-cache
4242
key: repo-cache-${{ runner.os }}-bindist-${{ env.cache-version }}

.github/workflows/prepare-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
exit 1
2525
fi
2626
- name: Checkout
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2828
with:
2929
ref: master # only create releases from main branch
3030
- name: Read section from CHANGELOG.md
3131
id: extract-changelog
32-
uses: sean0x42/markdown-extract@v2
32+
uses: sean0x42/markdown-extract@4178293dd16a52514b6cb2c01f4d309d264b2736 # v2
3333
with:
3434
file: CHANGELOG.md
3535
pattern: ${{ inputs.version }}

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-24.04
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1515
with:
1616
fetch-depth: 0
1717
ref: release

.github/workflows/update-ghc.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
- '9.10'
2020
- '9.12'
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2323
with:
2424
ref: master
25-
- uses: cachix/install-nix-action@v31
25+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.5.2
2626
with:
2727
nix_path: nixpkgs=nixpkgs/default.nix
2828
- name: Fetch updates
@@ -32,7 +32,7 @@ jobs:
3232
'python .github/update-ghc.py ${{ matrix.ghc }}'
3333
- name: Create Pull Request
3434
if: steps.ghc_update.outputs.latest != ''
35-
uses: peter-evans/create-pull-request@v7
35+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
3636
with:
3737
commit-message: "Add GHC bindist version ${{ steps.ghc_update.outputs.latest }}"
3838
title: "[update] GHC ${{ matrix.ghc }}"

.github/workflows/workflow.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)