+16
.tangled/workflows/test.yml
+16
.tangled/workflows/test.yml
···
14
14
command: |
15
15
mkdir -p appview/pages/static; touch appview/pages/static/x
16
16
17
+
- name: run go mod tidy
18
+
command: go mod tidy
19
+
20
+
- name: run gomod2nix
21
+
command: |
22
+
nix develop
23
+
nix run .#gomod2nix
24
+
25
+
- name: verify no changes
26
+
command: |
27
+
if ! git diff --quiet; then
28
+
echo "Error: gomod2nix produced changes. Please commit the updated files."
29
+
git diff
30
+
exit 1
31
+
fi
32
+
17
33
- name: run linter
18
34
environment:
19
35
CGO_ENABLED: 1