Skip to content

doc: comment Compiler & Bytecode #191

doc: comment Compiler & Bytecode

doc: comment Compiler & Bytecode #191

Workflow file for this run

name: build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- name: Install Rust
run: rustup toolchain install stable --component llvm-tools-preview
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Install nextest
uses: taiki-e/install-action@nextest
- name: Cache
uses: Swatinem/rust-cache@v1
- name: Check code format
run: cargo fmt -- --check
- name: Check the package for errors
run: cargo check --all --all-features
- name: Lint rust sources
run: cargo clippy --all-features -- -D warnings
- name: Collect coverage data
run: cargo llvm-cov --locked --all-features --workspace --lcov --output-path lcov.info
- name: Upload to codecov.io
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true