+15
.tangled/workflows/test.yml
+15
.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 run .#gomod2nix
23
+
24
+
- name: verify no changes
25
+
command: |
26
+
if ! git diff --quiet; then
27
+
echo "Error: gomod2nix produced changes. Please commit the updated files."
28
+
git diff
29
+
exit 1
30
+
fi
31
+
17
32
- name: run linter
18
33
environment:
19
34
CGO_ENABLED: 1