Skip to content

feat: add example for having linked-list #40

feat: add example for having linked-list

feat: add example for having linked-list #40

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