Skip to content

Commit add6a8d

Browse files
Update github actions in CI
1 parent 4487d85 commit add6a8d

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/build.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010
name: with bazel
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
14-
- uses: cachix/install-nix-action@v22
13+
- uses: actions/checkout@v4
14+
- uses: cachix/install-nix-action@v31
1515
- name: Configure
1616
run: |
1717
mkdir -p ~/repo-cache ~/disk-cache
1818
echo build --host_platform=@io_tweag_rules_nixpkgs//nixpkgs/platforms:host > .bazelrc.local
1919
- name: Mount Bazel cache
20-
uses: actions/cache/restore@v3
20+
uses: actions/cache/restore@v4
2121
if: github.ref != 'refs/heads/master'
2222
id: restore-cache
2323
with:
@@ -30,7 +30,7 @@ jobs:
3030
- run: |
3131
nix-shell --pure --run "bazel run $BAZEL_ARGS //:gazelle"
3232
nix-shell --pure --run "bazel test --test_output=all //... $BAZEL_ARGS"
33-
- uses: actions/cache/save@v3
33+
- uses: actions/cache/save@v4
3434
if: github.ref == 'refs/heads/master'
3535
with:
3636
path: |
@@ -51,8 +51,8 @@ jobs:
5151
name: with stack
5252
runs-on: ubuntu-latest
5353
steps:
54-
- uses: actions/checkout@v3
55-
- uses: cachix/install-nix-action@v22
54+
- uses: actions/checkout@v4
55+
- uses: cachix/install-nix-action@v31
5656
- name: Configure
5757
run: |
5858
mkdir -p ~/repo-cache ~/disk-cache
@@ -83,10 +83,10 @@ jobs:
8383

8484
steps:
8585
- name: Checkout
86-
uses: actions/checkout@v2
86+
uses: actions/checkout@v4
8787

88-
- name: Install NixOS
89-
uses: cachix/install-nix-action@v22
88+
- name: Install Nix
89+
uses: cachix/install-nix-action@v31
9090
with:
9191
nix_path: nixpkgs=./nixpkgs.nix
9292

@@ -96,7 +96,7 @@ jobs:
9696
echo build --host_platform=@io_tweag_rules_nixpkgs//nixpkgs/platforms:host > .bazelrc.local
9797
9898
- name: Mount Bazel cache
99-
uses: actions/cache/restore@v3
99+
uses: actions/cache/restore@v4
100100
if: github.ref != 'refs/heads/master'
101101
id: restore-cache
102102
with:
@@ -127,7 +127,7 @@ jobs:
127127
while true; do echo "."; sleep 60; done &
128128
nix-shell --pure --run 'bazel test //... $BAZEL_ARGS'
129129
130-
- uses: actions/cache/save@v3
130+
- uses: actions/cache/save@v4
131131
if: github.ref == 'refs/heads/master'
132132
with:
133133
path: |

0 commit comments

Comments
 (0)