Compare commits
1 commit
bff7eca3a0
...
4b5efaa76e
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4b5efaa76e |
4 changed files with 25 additions and 1 deletions
8
.woodpecker/cargo_check.yaml
Normal file
8
.woodpecker/cargo_check.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Run cargo check"
|
||||||
|
image: docker.nix-community.org/nixpkgs/nix-flakes
|
||||||
|
commands:
|
||||||
|
- nix run github:nixos/nixpkgs/nixos-unstable#cargo -- check --workspace --all-targets
|
8
.woodpecker/cargo_clippy.yaml
Normal file
8
.woodpecker/cargo_clippy.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Run cargo clippy"
|
||||||
|
image: docker.nix-community.org/nixpkgs/nix-flakes
|
||||||
|
commands:
|
||||||
|
- nix run github:nixos/nixpkgs/nixos-unstable#clippy
|
8
.woodpecker/cargo_test.yaml
Normal file
8
.woodpecker/cargo_test.yaml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Run cargo test"
|
||||||
|
image: docker.nix-community.org/nixpkgs/nix-flakes
|
||||||
|
commands:
|
||||||
|
- nix run github:nixos/nixpkgs/nixos-unstable#cargo -- test --workspace --all-targets
|
|
@ -2,7 +2,7 @@ when:
|
||||||
- event: pull_request
|
- event: pull_request
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Run nix flake check"
|
- name: "Run treefmt"
|
||||||
image: docker.nix-community.org/nixpkgs/nix-flakes
|
image: docker.nix-community.org/nixpkgs/nix-flakes
|
||||||
commands:
|
commands:
|
||||||
- nix fmt -- --fail-on-change
|
- nix fmt -- --fail-on-change
|
||||||
|
|
Loading…
Add table
Reference in a new issue