Skip to content

Run NixOS tests in CI #7

Run NixOS tests in CI

Run NixOS tests in CI #7

Workflow file for this run

name: 'Build and push to cachix'
on:
push:
branches:
- main
jobs:
cachix-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: cachix/cachix-action@v12
with:
name: welteki
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
skipPush: true
- name: Check flake
run: nix flake check -L --accept-flake-config
- name: Build faasd 🔧
run: |
nix build -L .#faasd
nix eval --json .#faasd | jq -r | cachix push welteki
- name: Build containerd 🔧
run: |
nix build -L .#faasd-containerd
nix eval --json .#faasd-containerd | jq -r | cachix push welteki
- name: Build cni-plugin 🔧
run: |
nix build -L .#faasd-cni-plugins
nix eval --json .#faasd-cni-plugins | jq -r | cachix push welteki