Skip to content

Create main.yml

Create main.yml #1

Workflow file for this run

name: Build

Check failure on line 1 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

you may only define one of `paths` and `paths-ignore` for a single event
on:
push:
branches:
- master
paths:
- submissions/minimal
paths-ignore:
- README.md
pull_request:
types:
- opened
- synchronize
branches:
- master
paths:
- submissions/minimal
paths-ignore:
- README.md
jobs:
service:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
- name: Build service
run: nix build .#submissions.minimal