mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 13:11: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:
|
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
|
||||||
|
|
4
.github/workflows/flake-update-inputs.yml
vendored
4
.github/workflows/flake-update-inputs.yml
vendored
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue