add caching and flake-checker to repo
All checks were successful
/ Build Nix targets (push) Successful in 30s
All checks were successful
/ Build Nix targets (push) Successful in 30s
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
on: [push]
|
||||
name: Lint Nix code
|
||||
|
||||
jobs:
|
||||
statix:
|
||||
name: Lint code
|
||||
runs-on: ubuntu-latest
|
||||
build:
|
||||
name: Build Nix targets
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3.1.0
|
||||
- uses: cachix/install-nix-action@v18
|
||||
- uses: cachix/cachix-action@v12
|
||||
- uses: actions/checkout@v4
|
||||
- uses: http://github.com/cachix/install-nix-action@v18
|
||||
- uses: http://github.com/cachix/cachix-action@v12
|
||||
with:
|
||||
name: statix
|
||||
- uses: https://github.com/jocelynthode/statix-action@master
|
||||
- name: Check Nix flake inputs
|
||||
uses: http://github.com/DeterminateSystems/flake-checker-action@main
|
||||
|
||||
Reference in New Issue
Block a user