Skip to content

chore: work with some rust concepts in hello-world #39

chore: work with some rust concepts in hello-world

chore: work with some rust concepts in hello-world #39

Workflow file for this run

---
name: ci
on:
push:
jobs:
cargo:
name: cargo
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ matrix.projects }}
strategy:
matrix:
projects:
- phonebook
- rds
- word-count-parham
- recho
- data-in-depth
- elipu
steps:
- name: checkout sources
uses: actions/checkout@v3
- name: install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: run cargo fmt
run: cargo fmt --all -- --check
- name: run cargo clippy
run: cargo clippy -- -D warnings
- run: |
if [ -f docker-compose.yml ]; then
docker-compose up -d
fi
- run: cargo test