Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Update README.md

Update README.md #56

Workflow file for this run

name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
check:
name: Check expressions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v17
with:
install_url: https://nixos.org/nix/install
extra_nix_config: |
auto-optimise-store = true
experimental-features = nix-command flakes
- run: nix flake check
formatting:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v17
with:
install_url: https://nixos.org/nix/install
extra_nix_config: |
auto-optimise-store = true
experimental-features = nix-command flakes
- run: nix run nixpkgs#alejandra -- -c .
cachix:
name: Build packages
needs: [check, formatting]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v17
with:
install_url: https://nixos.org/nix/install
extra_nix_config: |
auto-optimise-store = true
experimental-features = nix-command flakes
substituters = https://cache.nixos.org https://webcord.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= webcord.cachix.org-1:l555jqOZGHd2C9+vS8ccdh8FhqnGe8L78QrHNn+EFEs=
- uses: cachix/cachix-action@v10
with:
name: webcord
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build -L .#webcord