Skip to content

updated main.py

updated main.py #2

Workflow file for this run

name: Rust CI/CD Pipeline
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: clippy, rustfmt
override: true
- name: update linux
run: sudo apt update
- name: update Rust
run: make install
- name: Check Rust versions
run: make rust-version
- name: Format
run: make format
- name: Lint
run: make lint
- name: Test
run: make test