Merge pull request #118 from sine-fdn/martin/fixed-pact-deps #206
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
on: [push] | |
name: CI | |
jobs: | |
sqlite3_smoke_test: | |
name: SQLite3 smoke test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: SQLITE3 Smoke Test | |
working-directory: ./sql-example | |
run: | | |
sqlite3 < ileap.sql | |
build_and_test: | |
name: Rust project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Cache target | |
uses: actions/cache@v2 | |
env: | |
cache-name: cache-default-target-and-lockfile | |
with: | |
path: | | |
gen/target | |
gen/Cargo.lock | |
~/.rustup | |
key: ${{ env.cache-name }}-${{ hashFiles('**/Cargo.toml') }} | |
- name: CI | |
working-directory: ./gen | |
run: | | |
cargo build | |
cargo test |