mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-04-24 16:32:12 +00:00
44 lines
850 B
YAML
44 lines
850 B
YAML
name: ci
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- "**.md"
|
|
push:
|
|
branches:
|
|
- "master"
|
|
|
|
concurrency:
|
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
tests:
|
|
name: "cargo test"
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 60
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup Rust toolchain
|
|
uses: actions-rust-lang/setup-rust-toolchain@v1
|
|
|
|
- name: Install marine
|
|
uses: baptiste0928/cargo-install@v1.3.0
|
|
with:
|
|
crate: marine
|
|
|
|
- name: Build
|
|
run: ./build.sh
|
|
|
|
- name: Run cargo test
|
|
run: cargo test --release --all-features
|
|
|
|
- name: Run cargo fmt
|
|
run: cargo fmt --all -- --check
|
|
|
|
# - name: Run cargo clippy
|
|
# run: cargo clippy --all --all-features
|