Skip to content

Commit 1609fb2

Browse files
authored
Merge pull request #115 from tweag/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2 parents 02c0aa7 + 329d51c commit 1609fb2

File tree

2 files changed

+10
-18
lines changed

2 files changed

+10
-18
lines changed

.github/dependabot.yml

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

.github/workflows/workflow.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ jobs:
2626
ghc-version: ["ghc_8_10_7", "ghc_9_0_2", "ghc_9_2_5", "ghc_9_4_5", "ghc_9_6_5", "ghc_9_8_1"]
2727
runs-on: ${{ matrix.os }}
2828
steps:
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3030
- name: Mount Bazel cache
31-
uses: actions/cache@v4
31+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
3232
with:
3333
path: ~/repo-cache
3434
key: repo-cache-${{ runner.os }}-nixpkgs-${{ env.cache-version }}
35-
- uses: cachix/install-nix-action@v31
35+
- uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.5.2
3636
with:
3737
nix_path: nixpkgs=./nixpkgs.nix
38-
- uses: tweag/configure-bazel-remote-cache-auth@v0
38+
- uses: tweag/configure-bazel-remote-cache-auth@144b0b915f13a418f5eafe2f68d19564ec136c62 # v0.1.1
3939
with:
4040
buildbuddy_api_key: ${{ secrets.BUILDBUDDY_API_KEY }}
4141
bazelrc_path: .bazelrc.local
@@ -48,31 +48,31 @@ jobs:
4848
ln -s ../.bazelrc.local example/.bazelrc.local
4949
ln -s ../../.bazelrc.local tests/alternative-deps/.bazelrc.local
5050
- name: Build & test himportscan
51-
uses: tweag/run-nix-shell@v0
51+
uses: tweag/run-nix-shell@0d73770bd05096508387d191649e5e858a3c2654 # v0.2.1
5252
with:
5353
run: bazel test //himportscan:tasty --config=${{ matrix.ghc-version }}
5454
- name: Build & run gazelle
55-
uses: tweag/run-nix-shell@v0
55+
uses: tweag/run-nix-shell@0d73770bd05096508387d191649e5e858a3c2654 # v0.2.1
5656
with:
5757
working-directory: example
5858
run: bazel run //:gazelle --config=${{ matrix.ghc-version }}
5959
- name: Build & run gazelle fix
60-
uses: tweag/run-nix-shell@v0
60+
uses: tweag/run-nix-shell@0d73770bd05096508387d191649e5e858a3c2654 # v0.2.1
6161
with:
6262
working-directory: example
6363
run: bazel run //:gazelle --config=${{ matrix.ghc-version }} -- fix
6464
- name: Build & test generated rules
65-
uses: tweag/run-nix-shell@v0
65+
uses: tweag/run-nix-shell@0d73770bd05096508387d191649e5e858a3c2654 # v0.2.1
6666
with:
6767
working-directory: example
6868
run: bazel test //... --config=${{ matrix.ghc-version }}
6969
- name: Build & run gazelle with alternative dependencies
70-
uses: tweag/run-nix-shell@v0
70+
uses: tweag/run-nix-shell@0d73770bd05096508387d191649e5e858a3c2654 # v0.2.1
7171
with:
7272
working-directory: tests/alternative-deps
7373
run: bazel run //:gazelle --config=${{ matrix.ghc-version }}
7474
- name: Test for buildifier suggestions
75-
uses: tweag/run-nix-shell@v0
75+
uses: tweag/run-nix-shell@0d73770bd05096508387d191649e5e858a3c2654 # v0.2.1
7676
with:
7777
run: bazel test //:buildifier-test
7878

0 commit comments

Comments
 (0)