mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-01 19:11:15 +00:00
CI: clean up workflows
This commit is contained in:
parent
aaf57d02e7
commit
19f7c6732f
2 changed files with 9 additions and 9 deletions
14
.github/workflows/cachix.yml
vendored
14
.github/workflows/cachix.yml
vendored
|
@ -11,15 +11,15 @@ on:
|
|||
- .gitignore
|
||||
|
||||
jobs:
|
||||
cahix:
|
||||
runs-on: ubuntu-latest
|
||||
cachix:
|
||||
wruns-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
package:
|
||||
- default
|
||||
- nix
|
||||
- tidal
|
||||
- maximal
|
||||
- default
|
||||
- nix
|
||||
- tidal
|
||||
- maximal
|
||||
steps:
|
||||
- uses: easimon/maximize-build-space@v6
|
||||
with:
|
||||
|
@ -30,7 +30,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v20
|
||||
with:
|
||||
extra_nix_config: |
|
||||
extra_nix_config: |
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
auto-optimise-store = true
|
||||
experimental-features = nix-command flakes
|
||||
|
|
4
.github/workflows/check.yml
vendored
4
.github/workflows/check.yml
vendored
|
@ -20,10 +20,11 @@ jobs:
|
|||
extra_nix_config: |
|
||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||
- run: nix flake check
|
||||
|
||||
format-with-alejandra:
|
||||
name: Formatting via Alejandra
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v20
|
||||
with:
|
||||
|
@ -32,4 +33,3 @@ jobs:
|
|||
auto-optimise-store = true
|
||||
experimental-features = nix-command flakes
|
||||
- run: nix run nixpkgs#alejandra -- -c .
|
||||
|
||||
|
|
Loading…
Reference in a new issue