Merge pull request #4 from pavelzw/test #4
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: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Pixi | |
uses: prefix-dev/[email protected] | |
- name: Format and lint | |
run: | | |
pixi run fmt | |
pixi run check | |
- name: Generate schema | |
run: | | |
pixi run generate | |
- name: Test recipe schema | |
run: | | |
pixi run test | |
- name: Assert no changes | |
run: | | |
git diff --exit-code |