#186 - add new build system, get it working #95
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: Scylla CI | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
- 'feature/**' | |
defaults: | |
run: | |
working-directory: scylla-server | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Rust | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Generate prisma | |
run: cargo prisma generate | |
- name: Build | |
run: cargo build --verbose | |
- name: Clippy | |
run: cargo clippy --verbose -- -D warnings |