github: update actions

This commit is contained in:
Aly Raffauf 2024-07-05 21:58:22 -04:00
parent 58039a6563
commit c2eb69289a
2 changed files with 6 additions and 6 deletions

View file

@ -4,18 +4,18 @@ jobs:
check-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v27
- name: check if flake complies with default style
run: nix fmt -- -c .
check-eval:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v27
- name: check if flake evaluates
run: nix flake check

View file

@ -7,7 +7,7 @@ jobs:
update-inputs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 1
@ -15,7 +15,7 @@ jobs:
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- uses: cachix/install-nix-action@v20
- uses: cachix/install-nix-action@v27
- name: "flake: update inputs"
run: nix flake update --commit-lock-file
- name: "flake: check eval"