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: check-format:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
fetch-depth: 1 fetch-depth: 1
- uses: cachix/install-nix-action@v20 - uses: cachix/install-nix-action@v27
- name: check if flake complies with default style - name: check if flake complies with default style
run: nix fmt -- -c . run: nix fmt -- -c .
check-eval: check-eval:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
fetch-depth: 1 fetch-depth: 1
- uses: cachix/install-nix-action@v20 - uses: cachix/install-nix-action@v27
- name: check if flake evaluates - name: check if flake evaluates
run: nix flake check run: nix flake check

View file

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