Skip to content

Do not run build needlessly #9

Do not run build needlessly

Do not run build needlessly #9

Workflow file for this run

name: build
on:
push:
branches:
- "main"
pull_request:
paths:
- *.nix

Check failure on line 9 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
- flake.lock
- go.mod
- go.sum
- *.go
jobs:
build-and-cache:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: "DeterminateSystems/nix-installer-action@main"
- uses: "cachix/cachix-action@v12"
with:
name: modupdate
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build --accept-flake-config