Skip to content

Try workflow

Try workflow #1

Workflow file for this run

name: test
on:
push:
branches: [ main, actions ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Format
uses: actions-rs/cargo@v1
with:
command: fmt
args: --check --all
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D clippy::suspicious -W clippy::all -D clippy::correctness
- name: Test
run: |
python3 ./caiman-test/test.py run