File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8686
8787 - name : cargo clippy
8888 run : nix develop .#noObelisk --command cargo clippy --workspace --all-targets -- -D warnings
89+
90+ check-generated-extensions :
91+ runs-on : ubuntu-24.04
92+ steps :
93+ - uses : actions/checkout@v4
94+
95+ - uses : nixbuild/nix-quick-install-action@v30
96+ with :
97+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
98+ nix_conf : |
99+ extra-substituters = https://cache.garnix.io
100+ extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g
101+ - name : Populate the nix store
102+ run : |
103+ nix develop --command echo
104+
105+ - run : nix develop --command ./scripts/obelisk-generate-extensions.sh
106+
107+ - run : |
108+ if git diff --quiet; then
109+ echo "No changes"
110+ else
111+ echo "Changes in generated extensions detected:"
112+ echo "$(git diff)"
113+ exit 1
114+ fi
Original file line number Diff line number Diff line change 33set -exuo pipefail
44cd " $( dirname " $0 " ) /.."
55
6- (
7- cd fly-http/wit
8- obelisk generate extensions activity_wasm .
9- )
6+ obelisk generate extensions activity_wasm fly-http/wit/
7+
You can’t perform that action at this time.
0 commit comments