Skip to content

chore: release (#3) #20

chore: release (#3)

chore: release (#3) #20

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build_and_test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
rust: [stable]
arcadedb-server: [24.6.1]
steps:
- uses: actions/checkout@v2
- name: Starting ArcadeDB Server
run: |
docker compose -f docker-compose.yaml up -d
env:
ARCADEDB_VERSION: ${{ matrix.arcadedb-server }}
- name: Install latest ${{ matrix.rust }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
profile: minimal
override: true
components: rustfmt , clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run clippy check
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: -- -D warnings
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace