Skip to content

resolve cargo path from the toolchain #16

resolve cargo path from the toolchain

resolve cargo path from the toolchain #16

Workflow file for this run

name: cargo-qtest
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
code-check:
timeout-minutes: 10
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: check code format and lint
run: |
cargo fmt --all -- --check
cargo clippy -- --D warnings
test:
timeout-minutes: 20
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: unit tests
run: |
cargo test
build:
timeout-minutes: 10
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: build
run: |
cargo build