Specify migrations directory. #3
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: Web API CI | |
on: | |
push: | |
paths: | |
# Run if workflow changes | |
- '.github/workflows/web-api-ci.yml' | |
# Run on changed dependencies | |
- '**/Cargo.toml' | |
- '**/Cargo.lock' | |
- '**/rust-toolchain.toml' | |
# Run on changed source files | |
- 'backend/rvoc-backend/src/**' | |
branches: | |
- main | |
# We are creating this workflow on this branch, hence we enable it here. | |
# This can be deleted once the branch is removed. | |
- 42-add-user-account-creation | |
pull_request: | |
branches: main | |
jobs: | |
run_integration_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Cache /nix | |
uses: actions/cache@v3 | |
with: | |
path: /nix | |
key: ${{ runner.os }}-${{ hashFiles('flake.*') }} | |
- name: Install nix | |
uses: cachix/install-nix-action@v22 | |
- run: nix build -v | |
- run: nix flake check |