Skip to content

Test

Test #226

Workflow file for this run

name: "Test"
on:
pull_request:
types: [opened,edited,synchronize,reopened]
push:
# build every 5 days using the latest unstable
schedule:
- cron: 0 0 */5 * *
jobs:
build:
runs-on: ubuntu-latest
if: github.repository_owner == 'jonringer'
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v17
- run: |
mkdir -p ./overlays
echo '(self: super: {})' > ./overlays/factorio.nix
git add ./overlays
mkdir -p /run/empty || true
- run: nix flake check
- run: nix -L build ".#nixosConfigurations.server.config.system.build.toplevel" --override-input nixpkgs nixpkgs