-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (37 loc) · 1.05 KB
/
clippy-attiny85.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Lint Rust code with Clippy
"on":
pull_request:
branches: ["main"]
paths:
- '*.nix'
- .github/workflows/clippy-attiny85.yaml
- .justfile
- boards/attiny85/.cargo/**
- boards/attiny85/avr-unknown-none-attiny85.json
- boards/attiny85/Cargo.lock
- boards/attiny85/Cargo.toml
- boards/attiny85/**.nix
- boards/attiny85/rust-toolchain.toml
- boards/attiny85/src/**
- flake.lock
push:
branches: ["main"]
paths:
- '*.nix'
- .github/workflows/clippy-attiny85.yaml
- .justfile
- boards/attiny85/.cargo/**
- boards/attiny85/avr-unknown-none-attiny85.json
- boards/attiny85/Cargo.lock
- boards/attiny85/Cargo.toml
- boards/attiny85/**.nix
- boards/attiny85/rust-toolchain.toml
- boards/attiny85/src/**
- flake.lock
jobs:
clippy-attiny85:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
- uses: DeterminateSystems/magic-nix-cache-action@v8