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