Skip to content

Fix according to latest clippy #91

Fix according to latest clippy

Fix according to latest clippy #91

Workflow file for this run

name: Rust

Check failure on line 1 in .github/workflows/rust.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/rust.yml

Invalid workflow file

(Line: 21, Col: 7): Unexpected value 'components', (Line: 49, Col: 7): Unexpected value 'components'
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- name: Install llvm
run: sudo apt update && sudo apt install -y clang llvm clang-format lld
- uses: actions-rust-lang/setup-rust-toolchain@v1
components: rustfmt,clippy
- name: Prepare, build, test, clippy, format
run: make prepare build test clippy fmt
- name: git diff
run: git diff --exit-code
reproducible-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- name: Reproducible build
run: ./scripts/reproducible_build_docker
macos-build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install latest llvm & lld
run: brew install llvm lld
- uses: actions-rust-lang/setup-rust-toolchain@v1
components: rustfmt,clippy
- name: Prepare, build, test, clippy
run: make prepare build test clippy