···4141# Don't ignore this file itself, or other specific dotfiles
4242!.gitignore
4343!.github/
4444+!.tangled/
4445!.golangci.yaml
45464647# Don't commit your (default location) creds
+17
.tangled/workflows/build.yml
···11+when:
22+ - event: push
33+ branch: main
44+55+dependencies:
66+ nixpkgs:
77+ - gcc
88+ - gnumake
99+ - go
1010+1111+steps:
1212+1313+ - name: build
1414+ command: make build
1515+1616+1717+
+16
.tangled/workflows/lint.yml
···11+when:
22+ - event: push
33+ branch: main
44+55+dependencies:
66+ nixpkgs:
77+ - go
88+ - gnumake
99+ - gcc
1010+1111+steps:
1212+ - name: lint
1313+ command: make lint
1414+1515+1616+
+28
.tangled/workflows/lint_build_test.yml
···11+when:
22+ - event: push
33+ branch: ["main", "ci"]
44+55+dependencies:
66+ nixpkgs:
77+ - go
88+ - gnumake
99+ - gcc
1010+1111+steps:
1212+ - name: fetch deps
1313+ command: go mod tidy
1414+1515+ - name: lint
1616+ command: make lint
1717+1818+ - name: build
1919+ command: make build
2020+2121+ - name: test
2222+ command: |
2323+ ls
2424+ make test
2525+2626+2727+2828+
+16
.tangled/workflows/test.yml
···11+when:
22+ - event: push
33+ branch: main
44+55+dependencies:
66+ nixpkgs:
77+ - gcc
88+ - gnumake
99+ - go
1010+1111+steps:
1212+1313+ - name: test
1414+ command: make test
1515+1616+
+1-1
Makefile
···1122-SHELL = /bin/bash
22+SHELL = bash
33.SHELLFLAGS = -o pipefail -c
4455# base path for Lexicon document tree (for lexgen)