Skip to content

feat(btyecode_parser): now also parse super class #199

feat(btyecode_parser): now also parse super class

feat(btyecode_parser): now also parse super class #199

Workflow file for this run

name: Check and build cmjava
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
RUSTFLAGS: "--deny warnings"
jobs:
check:
name: Check formatting and common mistakes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 25
- uses: cachix/install-nix-action@v23
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: |
nix develop ".#ci" --command -- \
commitlint \
--color false --verbose \
--from $(git rev-list --max-parents=0 HEAD | head -n 1) \
--to HEAD
- run: |
nix develop ".#ci" --command -- \
cargo fmt --check
- run: |
nix develop ".#ci" --command -- \
cargo clippy
- run: |
nix develop ".#ci" --command -- \
eclint \
-exclude "{Cargo.lock,flake.lock,**/*.javap}"
build_and_test:
name: Build and run run unit and integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v23
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: |
nix develop ".#ci" --command -- \
cargo test
- run: |
nix develop ".#ci" --command -- \
cargo build