add avro schema validation #2
Workflow file for this run
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: Run CI | |
on: | |
pull_request: | |
branches: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Avrodisiac | |
run: | | |
curl -L -o avrodisiac.tar.gz https://github.com/SwissDataScienceCenter/avrodisiac/releases/download/v0.1.0/avrodisiac-x86_64-unknown-linux-gnu.tar.gz | |
tar xf avrodisiac.tar.gz --directory=/tmp/ | |
- name: Check formatting | |
run: /tmp/avrodisiac lint . | |
- name: Check compatibility | |
run: | | |
git worktree add /tmp/old ${{ github.event.pull_request.base.ref }} | |
/tmp/avrodisiac /tmp/old . | |