File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Rust
2+
3+ on :
4+ push :
5+ branches : [ "trunk" ]
6+ pull_request :
7+ branches : [ "trunk" ]
8+
9+ env :
10+ CARGO_TERM_COLOR : always
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+
20+ - uses : cachix/install-nix-action@v31
21+ with :
22+ nix_path : nixpkgs=channel:nixos-unstable
23+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
24+ - name : Build
25+ run : nix develop --command cargo build --verbose --release
26+ - name : Run tests
27+ run : nix develop --command cargo test --verbose
28+ - name : Build package
29+ run : nix build
30+ - name : Flake check
31+ run : nix flake check
32+ - name : Upload deploy-tool
33+ uses : actions/upload-artifact@v4
34+ with :
35+ name : deploy-tool
36+ path : target/release/deploy-tool
37+ - name : Upload web-container-tool
38+ uses : actions/upload-artifact@v4
39+ with :
40+ name : web-container-tool
41+ path : target/release/web-container-tool
42+
You can’t perform that action at this time.
0 commit comments