CI: nicer names

(...triggering another CI run to test the git checkout cache)
This commit is contained in:
Marien Zwart 2024-05-18 17:43:52 +10:00 committed by marienz
parent 8a2d602ae2
commit b085d95461

View file

@ -23,10 +23,14 @@ jobs:
id-token: "write" id-token: "write"
contents: "read" contents: "read"
steps: steps:
- uses: actions/checkout@v4 - name: Check out repository
- uses: DeterminateSystems/nix-installer-action@main uses: actions/checkout@v4
- uses: DeterminateSystems/magic-nix-cache-action@main - name: Install Nix
- uses: DeterminateSystems/flake-checker-action@main uses: DeterminateSystems/nix-installer-action@main
- name: Enable Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check flake.lock
uses: DeterminateSystems/flake-checker-action@main
with: with:
nixpkgs-keys: "" # TODO: check nixpkgs used for cached builds nixpkgs-keys: "" # TODO: check nixpkgs used for cached builds
- name: Cache git checkouts - name: Cache git checkouts
@ -34,7 +38,7 @@ jobs:
with: with:
path: ~/.cache/nix/gitv3 path: ~/.cache/nix/gitv3
key: nix-gitv3-cache key: nix-gitv3-cache
- name: Run `nix flake check` - name: nix flake check
run: nix flake check -L --show-trace run: nix flake check -L --show-trace
# TODO: try to improve caching. # TODO: try to improve caching.