mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 01:33:55 -05:00
github: update actions
This commit is contained in:
parent
58039a6563
commit
c2eb69289a
8
.github/workflows/flake-checks.yml
vendored
8
.github/workflows/flake-checks.yml
vendored
|
@ -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
|
||||
|
|
4
.github/workflows/flake-update-inputs.yml
vendored
4
.github/workflows/flake-update-inputs.yml
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue