backend: compression-in-redis-stream-object-euler-hs #242
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
# Triggers the workflow on push or pull request events but only for the "main" branch | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
nix-ci: | |
runs-on: x86_64-linux | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: nammayatri | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
skipPush: true | |
- name: Build all flake outputs | |
run: om ci | |
# Push and pin whitelisted paths to cachix | |
- name: Push to cachix | |
if: github.ref == 'refs/heads/main' | |
run: nix run .#cachix-push |