Skip to content

Fix clippy warnings across the project #1397

Fix clippy warnings across the project

Fix clippy warnings across the project #1397

Workflow file for this run

---
name: build
on: # yamllint disable-line rule:truthy
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
LintAndFormat:
runs-on: ubuntu-latest
steps:
- name: 'checkout'
uses: actions/checkout@v3
- name: 'Install Dependencies'
run: sudo apt-get update && make ciprepare
- name: 'clippy linter'
run: make --keep-going clippy
- name: 'Check formatting'
run: make --keep-going checkformat
Test:
runs-on: ubuntu-latest
steps:
- name: 'checkout'
uses: actions/checkout@v3
- name: 'Install Dependencies'
run: sudo apt-get update && make ciprepare
- name: 'Create coverage file'
run: make --keep-going citest
- name: 'upload the coverage file to server'
uses: codecov/codecov-action@v3
with:
files: ./coverall/lcov.txt
Build:
runs-on: ubuntu-latest
steps:
- name: 'checkout'
uses: actions/checkout@v3
- name: 'Install Dependencies'
run: sudo apt-get update && make ciprepare
- name: 'Build all mainboards'
run: make --keep-going mainboards
- name: 'Generate report of binary sizes'
run: ./scripts/generate-size-report.sh