CI: clean up workflows

This commit is contained in:
raf 2023-07-24 08:19:27 +03:00
parent caef26936a
commit e9e6ed82b0
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
2 changed files with 8 additions and 8 deletions

View file

@ -11,15 +11,15 @@ on:
- .gitignore - .gitignore
jobs: jobs:
cahix: cachix:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
package: package:
- default - default
- nix - nix
- tidal - tidal
- maximal - maximal
steps: steps:
- uses: easimon/maximize-build-space@v6 - uses: easimon/maximize-build-space@v6
with: with:
@ -30,7 +30,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20 - uses: cachix/install-nix-action@v20
with: with:
extra_nix_config: | extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
auto-optimise-store = true auto-optimise-store = true
experimental-features = nix-command flakes experimental-features = nix-command flakes

View file

@ -20,10 +20,11 @@ jobs:
extra_nix_config: | extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- run: nix flake check - run: nix flake check
format-with-alejandra: format-with-alejandra:
name: Formatting via Alejandra name: Formatting via Alejandra
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20 - uses: cachix/install-nix-action@v20
with: with:
@ -32,4 +33,3 @@ jobs:
auto-optimise-store = true auto-optimise-store = true
experimental-features = nix-command flakes experimental-features = nix-command flakes
- run: nix run nixpkgs#alejandra -- -c . - run: nix run nixpkgs#alejandra -- -c .