Skip to content

feat(alloy): rewrite, restructure, refactor, new git structure (DONT MERGE YET) #9

feat(alloy): rewrite, restructure, refactor, new git structure (DONT MERGE YET)

feat(alloy): rewrite, restructure, refactor, new git structure (DONT MERGE YET) #9

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [ main ]
jobs:
check:
name: Cargo check
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
rust: [ stable, nightly ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: Cargo check
uses: actions-rs/cargo@v1
with:
command: check
working-directory: ./alloy.rs

Check failure on line 30 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 30, Col: 9): Unexpected value 'working-directory' .github/workflows/ci.yml (Line: 55, Col: 9): Unexpected value 'working-directory'
format:
name: Cargo format
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
rust: [ stable ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- run: rustup component add rustfmt
- name: Cargo format
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
working-directory: ./alloy.rs
clippy:
name: Clippy lint
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
rust: [ stable ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: Clippy lint
uses: giraffate/clippy-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: 'github-pr-review'
clippy_flags: --all-features
working-directory: ./alloy.rs