mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
ci: rectify check inputs workflow naming
This commit is contained in:
parent
237a913ac3
commit
2a7eb11c77
2 changed files with 21 additions and 22 deletions
21
.github/workflows/check-inputs.yml
vendored
Normal file
21
.github/workflows/check-inputs.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: "Check flake inputs"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
check-inputs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v3
|
||||
|
||||
- name: Check Nix flake Nixpkgs inputs
|
||||
uses: DeterminateSystems/flake-checker-action@v4
|
||||
with:
|
||||
send-statistics: false
|
||||
22
.github/workflows/check.yml
vendored
22
.github/workflows/check.yml
vendored
|
|
@ -1,22 +0,0 @@
|
|||
name: "Check flake"
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "**.nix"
|
||||
- "**.lock"
|
||||
- ".github/workflows/check.yml"
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v22
|
||||
|
||||
- name: Check Nix flake Nixpkgs inputs
|
||||
uses: DeterminateSystems/flake-checker-action@main
|
||||
with:
|
||||
send-statistics: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue