Skip to content

what happens

what happens #35

Workflow file for this run

name: Check formatting
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
fmt:
name: cargo fmt check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
clippy:
name: Clippy lint and check
runs-on: ubuntu-latest
steps:
- run: sudo apt-get install llvm protobuf-compiler glibc-source libgtk-3-dev libsoup2.4 webkit2gtk-4.0 javascriptcoregtk-4.0
- uses: actions/checkout@v4
with:
submodules: true
- uses: Swatinem/rust-cache@v2
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: yarn
cache-dependency-path: 'Ecdar-GUI-Web/yarn.lock'
- name: Install yarn dependencies
run: cd Ecdar-GUI-Web && yarn install
- name: Set up Clippy
run: |
rustup component add clippy

Check failure on line 49 in .github/workflows/test_format.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test_format.yaml

Invalid workflow file

You have an error in your yaml syntax on line 49
export PATH=$PATH:$HOME/.cargo/bin
- run: clippy --all-targets -- -D warnings