Skip to content

Feat: Implementing for, conditionals and type declaration (IT refactor). #48

Feat: Implementing for, conditionals and type declaration (IT refactor).

Feat: Implementing for, conditionals and type declaration (IT refactor). #48

Workflow file for this run

name: pipeline
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
compiler:
runs-on: &ubuntu ubuntu-latest
defaults:
run:
working-directory: compiler
steps:
- uses: &checkout actions/checkout@v5
- uses: &rust dtolnay/rust-toolchain@stable
- uses: &cache Swatinem/rust-cache@v2
- name: Build
run: cargo build
- name: Run tests
run: cargo test
- name: Install cargo-shear
run: cargo install cargo-shear
- name: Unused code
run: |
cargo shear
cargo clippy
deployment:
runs-on: *ubuntu
defaults:
run:
working-directory: deployment
steps:
- uses: *checkout
- uses: *rust
- uses: *cache
- name: Build
run: cargo build
- name: Run tests
run: cargo test
- name: Install cargo-shear
run: cargo install cargo-shear
- name: Unused code
run: |
cargo shear
cargo clippy