tangled
alpha
login
or
join now
pierrelf.com
/
grain
0
fork
atom
Rust implementation of OCI Distribution Spec with granular access control
0
fork
atom
overview
issues
9
pulls
pipelines
ci: add fmt, clippy, and test steps to tangled pipeline
pierrelf.com
3 months ago
e073faf0
5a040134
0/1
build.yml
failed
46s
+14
-6
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
build.yml
+14
-6
.tangled/workflows/build.yml
···
10
10
nixpkgs:
11
11
- rustc
12
12
- cargo
13
13
+
- rustfmt
14
14
+
- clippy
13
15
- gcc
14
16
- pkg-config
15
15
-
- curl
16
17
- skopeo
17
18
- umoci
18
18
-
- jq
19
19
- bash
20
20
- coreutils
21
21
-
- findutils
22
21
23
22
environment:
24
23
CARGO_HOME: ".cargo"
25
25
-
BUILDAH_ISOLATION: "chroot"
26
24
27
25
steps:
26
26
+
- name: "Check formatting"
27
27
+
command: |
28
28
+
cargo fmt --all -- --check
29
29
+
30
30
+
- name: "Lint with Clippy"
31
31
+
command: |
32
32
+
cargo clippy --all-targets --all-features -- -D warnings
33
33
+
34
34
+
- name: "Run tests"
35
35
+
command: |
36
36
+
cargo test
37
37
+
28
38
- name: "Build Rust binary"
29
39
command: |
30
30
-
echo "Available environment variables:"
31
31
-
env | grep -i tangled || echo "No TANGLED_ vars found"
32
40
cargo build --release
33
41
ls -lh target/release/grain target/release/grainctl
34
42